Authentication

Update member role

Update a team member's role (Admin only)

patch/api/v1/auth/members/{userId}/role

Request

  • Base URL: http://localhost:8080
  • URL: http://localhost:8080/api/v1/auth/members/{userId}/role
  • Auth: bearerAuth (a scheme the document does not define)

Path parameters

userIdstring uuid required

Request body

role'admin' | 'manager' | 'agent' required

Response

Role updated successfully

successtrue required
messagestring

Example response

{
  "data": {
    "email": "user@example.com",
    "name": "John Doe"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.