Update Organization Member Role
Update the role of a member in an organization
Authentication
AuthorizationBearer
Bearer token authentication
Request
This endpoint expects an object.
role
The new role to be applied. This can be a string or array of strings representing the roles. Eg: [“admin”, “sale”]
memberId
The member id to apply the role update to. Eg: “member-id”
organizationId
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
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error