password only when you intend to reset it. Omit it and the existing password is preserved.roleIds replaces the user's roles rather than adding to them. Read the current roles with Detail first if you mean to append.curl --location --request PATCH 'https://apigw.klinkcx.com/api/v1/users/' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "string",
"email": "string",
"password": "string",
"roleIds": [
"string"
],
"phone": "string",
"address": "string",
"globalAgentCapacity": 0
}'{
"requestId": "string",
"data": {
"id": "string",
"name": "string",
"email": "string",
"phone": "string",
"address": "string",
"globalAgentCapacity": 0,
"roles": [
{
"id": "string",
"systemName": "string",
"displayName": "string",
"description": "string"
}
],
"createdAt": "string",
"updatedAt": "string"
}
}