v18

latestOpenAPI 3.0.3raw.githubusercontent.com2026-07-111422448.7 KB
Organization Management

Update Organization Member Role

Update the role of a member in an organization

post/auth/organization/update-member-role

Request body

rolestring required

The new role to be applied. This can be a string or array of strings representing the roles. Eg: ["admin", "sale"]

memberIdstring required

The member id to apply the role update to. Eg: "member-id"

organizationIdstring nullable

An optional organization ID which the member is a part of to apply the role update. If not provided, you must provide session headers to get the active organization. Eg: "organization-id"

Response

Success