sys-users

Update

POST
Updates the system user.

Request

This endpoint expects an object.
id
stringRequired
The ID of system user to update.
display_name
stringOptional
Updated display name for the system user.
display_picture
stringOptional
Artifact ID of the system user's new display picture.
full_name
stringOptional
Updated full name for the system user.

Response

This endpoint returns an object
sys_user
object
POST
1curl -X POST https://api.devrev.ai/sys-users.update \
2 -H "Authorization: <apiKey>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "id": "id"
6}'
200Successful
1{
2 "sys_user": {
3 "id": "id",
4 "created_date": "2023-01-01T12:00:00Z",
5 "display_id": "display_id",
6 "display_name": "display_name",
7 "display_picture": {
8 "id": "id",
9 "display_id": "display_id"
10 },
11 "email": "email",
12 "full_name": "full_name",
13 "modified_date": "2023-01-01T12:00:00Z",
14 "phone_numbers": [
15 "phone_numbers"
16 ],
17 "state": "active"
18 }
19}