MCP

user/patch_by_id

Tool: update

Update one or more fields of an existing user.

All body fields are optional — send only what needs to change. Returns the updated User object. To clear a field — and to know why null fails — see call-contract.

Arguments

name type req notes
id string ✓ User UUID (uuid format)

Body

field type req constraints description
firstName string – Updated first name.
lastName string – Updated last name.
accountType string – one of: SingleUnibox, SingleReports, SingleSenders, User, Editor, Admin, SuperAdmin Updated permission level. See schemas/user.

Response

200 — Updated User object: see schemas/user. Deltas: none.

Errors: 400, 401, 404, 406, 415, 422, 429, 500 — shared schema: schemas/errors.

Invoke

Call update with name: "user/patch_by_id".