Skip to main content
PATCH
Update a member’s role

Authorizations

Authorization
string
header
required

Cactal API key. Create one in the dashboard or via POST /apiKeys. The plaintext key is shown once at creation.

Path Parameters

organizationId
string
required
Minimum string length: 1
memberPrincipalId
string
required
Minimum string length: 1

Body

application/json
role
enum<string>
required
Available options:
owner,
admin,
full_editor,
content_editor

Response

The member’s new role together with the previous one.

principalId
string
required

Principal ID of the updated member.

role
enum<string>
required

Role the member now holds.

Available options:
owner,
admin,
full_editor,
content_editor
previousRole
enum<string>
required

Role the member held before this change.

Available options:
owner,
admin,
full_editor,
content_editor