put https://example.td.commpeak.com/api/roles/
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.