Organizations
Update a member’s role
Sets the member’s organization role. Requires a role with member management (owner or admin). Assigning owner transfers ownership: only the current owner can do this, the target member becomes the owner, and the caller is demoted to admin; transferring ownership to yourself is rejected. The current owner cannot be demoted directly (409) — transfer ownership by promoting another member instead.
patch/organizations/{organizationId}/members/{memberPrincipalId}
Request
- Base URL: https://api.cactal.ai/v1
- URL: https://api.cactal.ai/v1/organizations/{organizationId}/members/{memberPrincipalId}
- Auth: HTTP bearer
Path parameters
organizationIdstring required
memberPrincipalIdstring required
Request body
Response
The member’s new role together with the previous one.
Changes
No recorded changes to this operation across all 1 revision of this API.