Users
Update User
PATCH
/users/{userId}
https://api.relesysapp.net/api/v1.1/users/{userId}
Scopes: relesys.api, relesys.api:write, relesys.api.users, relesys.api.users:write
https://api.relesysapp.net/api/v1.1/users/{userId}
| userId | string / guid | required |
[{"value":"My patched name","path":"/name","op":"add"},{"value":{"countryCode":45,"number":"11223344"},"path":"/phoneNumber","op":"replace"},{"path":"/title","op":"remove"},{"value":{"customfieldone":"Custom field 1","customfieldtwo":"Custom field 2"},"path":"/customFields","op":"add"}]
| array[object] | ||||
| from | string | optional | ||
| op | string | optional | ||
| path | string | optional | ||
| value | object | optional | ||
{"data":{"id":"646da177-e91c-431f-97d4-a03d8112566b","url":null,"departmentUrl":null,"status":"Activated","creationDateTime":"2026-04-25T07:48:02.6105607Z","lastModifiedDateTime":"2026-04-25T07:48:02.6105607Z","externalId":"NUA","name":"New User A","userName":"UserNameA","title":"User Title A","dataSource":"RelesysAPI","email":"personalmaila@testmail.com","secondaryEmail":"businessmaila@testmail.com","phoneNumber":{"countryCode":45,"number":"12345678"},"secondaryPhoneNumber":{"countryCode":45,"number":"12345679"},"birthDate":"2002-12-30T00:00:00Z","primaryDepartmentId":"cfdc5382-07d9-49c2-a22a-95bccc50ac18","additionalDepartments":[{"id":"b1746b7e-0ef1-4da9-896a-d42f796401e7","dataSource":"RelesysAPI"}],"userGroups":[{"id":"37e8da3e-1075-448f-b4c1-b8be73aadb37","dataSource":"RelesysAPI"},{"id":"e1482c68-fbee-49c1-989d-f7aff9689b3d","dataSource":"RelesysAPI"}],"employmentDate":"2018-12-30T13:30:00Z","employmentEndDate":"2021-12-30T13:30:00Z","customFields":{"customfieldone":"Custom field 1"},"employmentType":"Full-time manager"}}
| object | ||||
| ⯈ data | object | |||
| ⯈ additionalDepartments | array[object] | |||
| dataSource | string | |||
| id | string / guid | |||
| birthDate | datetime | |||
| customFields | dictionary`2 | |||
| dataSource | string | |||
| departmentUrl | string | |||
| string | ||||
| employmentDate | datetime | |||
| employmentEndDate | datetime | |||
| employmentType | string | |||
| externalId | string | |||
| id | string / guid | |||
| name | string | |||
| ⯈ phoneNumber | object | |||
| countryCode | integer | |||
| number | string | |||
| primaryDepartmentId | string / guid | |||
| secondaryEmail | string | |||
| ⯈ secondaryPhoneNumber | object | |||
| countryCode | integer | |||
| number | string | |||
| status | string | |||
| title | string | |||
| url | string | |||
| ⯈ userGroups | array[object] | |||
| dataSource | string | |||
| id | string / guid | |||
| userName | string | |||