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.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Body Params
string
string
string
userIds
array of numbers
userIds
Responses

Language
Credentials
Basic
base64
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json