Update team member role
Team Members
Update Team Member Role
POST
Update team member role
Overview
Update a team member’s role within a tenant. This allows you to promote members to admins or demote admins to members.Authorization
- User must be authenticated with a valid Bearer token
- User must have ADMIN role in the specified tenant
Validation Rules
role: Required, must be either “ADMIN” or “MEMBER”
Example Usage
Error Responses
User Not Found (404)
Not a Member (400)
Validation Error (422)
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Available options:
ADMIN, MEMBER Response
200
Role updated