Update User Settings
PUT api/account/settings
This is used for updating user settings.
Example Request
curl -X 'PUT' \ 'http://localhost:8080/api/account/settings' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -H 'Content-Type: application/json' \ -d '{ "user_setting_mute_notification": true}'Request Body
Content Type: application/json
Content: User Settings
{ "user_setting_mute_notification": true}Responses
200 - OK
The request was successful
Content Type: application/json
Content: User Settings
{ "user_setting_mute_notification": true}400 - Bad Request
Validation Error
Content Type: application/json
Content:
{ "param_name": [ "string" ], "param_name_2": [ "string" ]}401 - Unauthorized
The request requires valid bearer token, but none were provided, or the bearer token is invalid.
429 - Too Many Requests
The user has exceeded the rate limit of 20 requests per minute.
500 - Internal Server Error
There is an issue with the backend. Sentry will provide a more detailed report on the problem.