POST /user-settings.json
Body Required
POST /user-settings.json
curl \
-X POST http://api.example.com/v1/user-settings.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key":"string","scope":"ui","userId":42,"value":{}}'
Request example
{
"key": "string",
"scope": "ui",
"userId": 42,
"value": {}
}
Response examples (200)
{
"createdAt": "2024-05-04T09:42:00+00:00",
"id": 42,
"key": "string",
"scope": "ui",
"updatedAt": "2024-05-04T09:42:00+00:00",
"userId": 42,
"value": {}
}