Update user role
  • 14 Feb 2021
  • 1 Minute To Read
  • Contributors
  • Print
  • Share
  • Dark
    Light

Update user role

  • Print
  • Share
  • Dark
    Light

PUT/teams/{id}/role

Updates a user with the ID


Header

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?