API Docs / Operations / Users / Patch User

Patch User

PATCH /tenants/{tenant}/users/{code}

Applies a partial update to a user. Currently patches the time tracking fields: the working pattern (always applied — null clears it so the practice default applies) and the own-time restriction (applied only when the field is present; omit it to leave the restriction unchanged). Rates are managed via the user's rates endpoints. Putting a user on an existing pattern is a change to the user, so this needs Users.Update — defining the patterns themselves needs WorkingPatterns.

Parameters

NameTypeDescription
tenant* path string

The Tenant.Code

The Tenant.Code

code* path string

Request Body*

{
  "workingPatternCode": "string",
  "isRestrictedToOwnTime": false,
  "isPaidForTrackedTime": false
}

Responses

204 No Content
400 Bad Request
401 Unauthorized – Invalid or missing API key
404 Not Found