Skip to main content
POST
Update Organization Member Role

Authorizations

Authorization
string
header
required

Bearer token authentication

Body

application/json
role
string
required

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

memberId
string
required

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

organizationId
string | null

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

member
object
required