Update RBAC Client
Edit a client's profile or rotate credentials. Profile fields (identifier, display_name, email, metadata, status) are written from the request on every call, so omitting one sends an empty value and clears it — send the full desired state. Credential fields (username, password, token) are only touched when non-empty, so omitting them leaves the existing credential intact.
To rotate credentials: pass a new password and/or token — the old hashes are replaced. Pass auto_generate_token: true to mint a fresh token; the new value comes back in generated_token (only once). A token — minted or sent — needs bearer-token sign-in enabled on the endpoint (enabled_auth_methods.bearer_token in its settings); otherwise the call is refused with 400 bearer token authentication is not enabled for this endpoint. The same goes for username/password and username/password sign-in. Role/membership changes are not handled here — use /rbac/memberships. Any identities in the body are ignored on update.
Changing status here is OK but PUT .../status is the dedicated route used by the dashboard's disable/reactivate button.
Path parameters
uuid from /endpoints.uuid. Resolved under this endpoint only.Deprecated: the legacy integer id is still accepted in the path until the sunset, answered with Deprecation and Sunset headers. Use the uuid.
Request body
Same field set as create (strict decoding — unknown fields are rejected), except identities is ignored and there is no role_ids:
invited | active | disabled | revoked (empty defaults to active). Prefer the dedicated status endpoint when only changing status.Response (200 OK)
Updated client (same shape as list entries), plus generated_token if a fresh token was minted.
Deprecated: until the sunset this response also carries the legacy integer id and *_id fields. Don't use them; read uuid and the *_uuid fields.
Errors
identifier, invalid status, or a credential for a sign-in method the endpoint has off: bearer token authentication is not enabled for this endpoint (a token or auto_generate_token while bearer_token is off), username/password authentication is not enabled for this endpoint. An integer client id after the sunset (integer_id_unsupported).endpoints:update permission in the active account.client not found)."code": "quota_paused" when the endpoint is paused over your plan's limits.