User
Partial update current user
Update part of the currently authorized user. Fields organization, groups, and queues are read-only at this endpoint; use partial update user to modify them.
patch/api/v1/auth/user
Request body
Example request
{
"id": 10775,
"url": "https://example.rossum.app/api/v1/users/10775",
"first_name": "John",
"last_name": "Doe",
"email": "john-doe@east-west-trading.com",
"phone_number": "+1-212-456-7890",
"date_joined": "2018-09-19T13:44:56.000000Z",
"username": "john-doe@east-west-trading.com",
"groups": [
"https://example.rossum.app/api/v1/groups/3"
],
"organization": "https://example.rossum.app/api/v1/organizations/406",
"queues": [
"https://example.rossum.app/api/v1/queues/8199"
],
"is_active": true,
"last_login": "2019-02-07T16:20:18.652253Z",
"ui_settings": {},
"metadata": {
"some_key": "some_value"
},
"auth_type": "password"
}Response
OK
Example response
{
"id": 10775,
"url": "https://example.rossum.app/api/v1/users/10775",
"first_name": "John",
"last_name": "Doe",
"email": "john-doe@east-west-trading.com",
"phone_number": "+1-212-456-7890",
"date_joined": "2018-09-19T13:44:56.000000Z",
"username": "john-doe@east-west-trading.com",
"groups": [
"https://example.rossum.app/api/v1/groups/3"
],
"organization": "https://example.rossum.app/api/v1/organizations/406",
"queues": [
"https://example.rossum.app/api/v1/queues/8199"
],
"is_active": true,
"last_login": "2019-02-07T16:20:18.652253Z",
"ui_settings": {},
"metadata": {
"some_key": "some_value"
},
"auth_type": "password"
}Changes
No recorded changes to this endpoint across all 1 revision of this API.