Update user

Updates an existing user account.

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
int32
required

The UUID (uuid) or unique ID (id) of the user.

Body Params
int32

The user role represented as an integer value, as described in User Roles.

string

The name of the user (for example, first and last name).

string

The email address of the user. A valid email address must be in the format, name@domain, where domain corresponds to a domain approved for your Tenable Vulnerability Management instance. However, a user can update their own email property value to have an unapproved domain if an administrator has already approved the domain for that particular user.

This email address overrides the email address set in username. If your request omits this parameter, Tenable Vulnerability Management uses the username value as the user's email address.

Note: During initial setup, Tenable configures approved domains for your Vulnerability Management instance. To add domains to your instance, contact Tenable Support.

boolean

Specifies whether the user's account is enabled (true) or disabled (false).

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 update a user.

404

Returned if Tenable Vulnerability Management cannot find the specified user.

409

Returned if you attempt to change your own account's enabled or disabled status.

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