Update User role

The Update User Role API method allows you to update a user role. You should send the user role id as a variable and the following fields in the request body:

Request Body

  • name (string, required): The name of the role.
  • level (string, required): The level of the role.
  • twofa_type (string, required): The type of two-factor authentication associated with the role.
  • userIds (array of integers, required): An array of user IDs associated with the role.
Language
Credentials
Basic
base64
:
Click Try It! to start a request and see the response here!