Users
Update User
PATCH
/users/{userId}
https://api.relesysapp.net/api/v1.3/users/{userId}
Scopes: relesys.api, relesys.api:write, relesys.api.users, relesys.api.users:write
https://api.relesysapp.net/api/v1.3/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":"6cd99267-5adf-462d-88a2-6f86b7b2a164","url":null,"departmentUrl":null,"status":"Activated","creationDateTime":"2026-03-31T11:00:26.7209011Z","lastModifiedDateTime":"2026-03-31T11:00:26.7209011Z","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":"5e43a8b8-7bd3-4f3c-8056-c3d3acde9fd5","additionalDepartments":[{"id":"27744bfa-d16b-4a6a-8f9a-8a79351f9c5f","dataSource":"RelesysAPI"}],"userGroups":[{"id":"22360293-0789-4346-ba9a-5609fa65703c","dataSource":"RelesysAPI"},{"id":"d7acaa63-ea93-4b39-a868-22bea4e7d625","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 | |||