Update user role
  • 14 Feb 2021
  • 1 Minute to read
  • Contributors
  • Dark
    Light

Update user role

  • Dark
    Light

PUT/teams/{id}/role

Updates a user with the ID


Parameter Type Description
api_token string REST API key you can get it from Settings > Advanced > API tokens.

Body Parameters

Parameters highlighted in bold are mandatory

Parameter Type Description
user_role enumerated 1 - Administrator, 2 - Editor, 3 - DraftWriter, 4 - Reader, 7 - Owner

Sample Request

{
    "user_role" : "1"
}

Response

Status
200 OK

Was this article helpful?

What's Next