Change user role

Changes the role for the specified user.

Requires the Administrator [64] user role. See Roles.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

Specifies the unique identifier (UUID) of the user whose role you want to change.

Body Params
role_uuids
array of uuids
required
length between 1 and 1

Specifies the unique identifier (UUID) of the role to assign to the user.

Note: Although role_uuids is defined as an array, you can only provide one role UUID.

role_uuids*
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

400

Returned if your request specified invalid parameters or if your request was improperly formatted.

403

Returned if you do not have permission to change the user's role.

404

Returned if Tenable Vulnerability Management cannot find the specified user.

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