MCP

clientspace/patch_by_id

Tool: update

Update one or more fields of a clientspace owned by the authenticated agency.

All body fields are optional — send only what needs to change. Returns the updated Clientspace object. apiKey is redacted — see schemas/clientspace. To clear a field — and to know why null fails — see call-contract.

Arguments

name type req notes
id integer ✓ the object's clientspaceId (int32)

Body

field type req constraints description
title string – New display name (must be unique within the agency).
separateCredits boolean – Enable/disable a separate credit pool for this clientspace.
autoAllocate boolean – Enable/disable automatic recurring credit allocation.
creditAmount integer – Credits to allocate per auto-allocation cycle.

Response

200 — Updated Clientspace object: see schemas/clientspace. Deltas: none.

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

Invoke

Call update with name: "clientspace/patch_by_id".