Update user settings
Updates user settings.
PUT users/:userId/settings
Request properties
Property | Type | Description | Optional |
---|---|---|---|
UserId | Guid | Unique identifier of the user. | No |
Request | User settings request object | The user settings request to update. | No |
Example request
{ "canEditBankAccount": false, "canViewAllDocumentsArchive": false }
Response
Upon successful update of a user settings in the Basecone system, a 204 http status code will be returned. If something goes wrong, an error message with failure details will be given together with a suitable http error status code.
Possible error responses
400 | validation_error | User Id cannot be empty |
400 | validation_error | User doesn't belong to your office. |
400 | invalid_request_payload | Request body can not be null. |
400 | user_not_found | User doesn't exist or deleted |
400 | unknown_error | Something went wrong during saving user settings |