Update an MCP staff key (only the fields sent)
Applies only the fields present in the body, and only those that differ from the stored key. Owner-only (saas_admin_users role 'owner'): setting a global grant (any wildcardRole — the only global grant), any write grant, re-activating an inactive key (isActive true), reassigning staffMemberId, and extending expiresAt on a global or expired key. Platform admins may rename, deactivate, remove global grants, and shorten expiry. A concurrent change answers 409. The admin log records server-built before/after values only.
PATCH
https://api.channelautomation.com/api/admin/mcp-permissions/keys/{keyId}Authorization
Path parameters
Request body JSON required
Returns
200
{ success, data: key } — unchanged key with message 'No changes' when nothing differed
