Change someone's role in a product
Sets a member's role in Raíz, Agenda, Ámbar or Account, or removes their access to that product with null. Their other roles stay.
- Scope:
account:members:write - Credentials: an API key, a client-credentials token or a person's access token
- Effect: writes; idempotent, safe to retry
- Limits: request body up to 32 KB, response up to 256 KB
- CLI:
arbol account members update· MCP tool:account_members_update
PATCH
https://api.getarbol.com/v1/account/members/{memberId}Authorization
Path parameters
Request body JSON required
Returns
200
Successful operation.
400
INVALID_INPUT: The request does not match the published schema.
401
UNAUTHORIZED: A valid access token is required.
403
FORBIDDEN: The token does not authorize this operation.MEMBER_PROTECTED: This person holds access that only Arbol changes.MEMBER_SELF_CHANGE: You cannot change your own access.ROLE_NOT_ASSIGNABLE: You cannot assign this role.
404
MEMBER_NOT_FOUND: No existing Arbol account was found.
409
IDENTITY_REJECTED: The identity service refused the change.LAST_ADMINISTRATOR: The product must keep at least one administrator.
413
REQUEST_TOO_LARGE: The request exceeds the allowed size.
415
UNSUPPORTED_MEDIA_TYPE: The request content type is not supported.
429
RATE_LIMITED: The request rate limit was exceeded. Try again later.
500
INTERNAL_ERROR: The service could not complete the operation.
502
OUTCOME_UNKNOWN: The operation may have been applied; check its result before repeating it.
503
UPSTREAM_UNAVAILABLE: The upstream service could not complete the request.ACCOUNT_NOT_CONFIGURED: Account administration is not configured yet.IDENTITY_UNAVAILABLE: The identity service did not answer.