Organizations
Update Member Role
Update a member's role in the organization. Requires ADMIN status or MEMBER_EDIT permission. For a member who signs in through WorkOS, the role is written to WorkOS first. A role your identity provider assigns through an explicit SSO or directory group role assignment is reapplied at the member's next sign-in or directory sync, so change such roles in the identity provider. Returns 412 when promoting a member who no longer belongs to the organization in WorkOS, or when demoting an admin listed in BETTER_AUTH_ADMIN_EMAILS.
post/api/v2/organizations/updateMemberRole
Request
- Base URLhttps://zeropath.com
- AuthAPI key in header X-ZeroPath-API-Token-Id and API key in header X-ZeroPath-API-Token-Secret
Request body
Response
Successful response
Changes
No recorded changes to this operation across all 1 revision of this API.