v1
latestOpenAPI 3.1.02026-08-065163115.0 KBUsers
Update user
Update role, payment types, and/or delegation settings for an active employee. All fields in the request body are optional.
patch/v1/businesses/{client_id}/users/{user_id}
Path parameters
client_idinteger required
Example:123
The ID of the business.
user_idinteger required
The ID of the user.
Request body
Example request
{
"role_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"payment_types": [
"cards"
],
"out_of_office_mode": true,
"out_of_office_start_date": "2026-06-01",
"out_of_office_end_date": "2026-06-15",
"delegate_approver": 789,
"expense_delegate": [
456,
789
]
}Response
OK
Example response
{
"id": 123,
"first_name": "John",
"last_name": "Doe",
"name": "John Doe",
"email": "john.doe@example.com",
"role": "Team Member",
"role_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"created": "2024-01-01T00:00:00Z",
"updated": "2024-01-01T00:00:00Z",
"payment_types": [
"cards"
],
"out_of_office_mode": true,
"out_of_office_start_date": "2026-06-01",
"out_of_office_end_date": "2026-06-15",
"delegate_approver": 789,
"expense_delegate": [
456,
789
]
}