Updates information about a user for the specified username and organization shortname (accessible to self, same-organization Admins, or Secretariat)
<h2>Access Control</h2> <p>Authenticated users can update their own name fields. Organization admins can update users in their organization. Secretariat users can update users in any organization.</p> <h2>Expected Behavior</h2> <p><b>Regular User:</b> Updates the user's own information. Only name fields may be changed.</p> <p><b>Admin User:</b> Updates information about a user in the Admin's organization. Allowed to change all fields except org_short_name. </p> <p><b>Secretariat:</b> Updates information about a user in any organization. Allowed to change all fields.</p>Path parameters
The shortname of the organization
The username of the user
Query parameters
The new active state for the user entry. Accepted values are 1, true, or yes to indicate true, and 0, false, or no to indicate false
The new organization for the user
Headers
The shortname for the organization associated with the user requesting authentication
The username for the account making the request
The user's API key
Response
Returns the updated user information
Changes
Changed in 6 of the 57 revisions of this API.91928
- ●
deleted the
queryrequest parameteractive_roles.addrequest-parameter-removed
- ●
deleted the
queryrequest parameteractive_roles.removerequest-parameter-removed
- ●
deleted the
queryrequest parametername.firstrequest-parameter-removed
- ●
deleted the
queryrequest parametername.lastrequest-parameter-removed
- ●
deleted the
queryrequest parametername.middlerequest-parameter-removed
- ●
deleted the
queryrequest parametername.suffixrequest-parameter-removed
- ●
deleted the
queryrequest parameternew_usernamerequest-parameter-removed
- ●
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
- ▲
- ▲
added the new required
headerrequest parameterCVE-API-KEYnew-required-request-parameter
- ▲
added the new required
headerrequest parameterCVE-API-ORGnew-required-request-parameter
- ▲
added the new required
headerrequest parameterCVE-API-USERnew-required-request-parameter
- ○
api operation id
registryUserUpdateSinglewas addedapi-operation-id-added
- ○
api tag
Registry Useraddedapi-tag-added
- ○
added the new optional
queryrequest parameteractivenew-optional-request-parameter
- ○
added the new optional
queryrequest parameteractive_roles.addnew-optional-request-parameter
- ○
added the new optional
queryrequest parameteractive_roles.removenew-optional-request-parameter
- ○
added the new optional
queryrequest parametername.firstnew-optional-request-parameter
- ○
added the new optional
queryrequest parametername.lastnew-optional-request-parameter
- ○
added the new optional
queryrequest parametername.middlenew-optional-request-parameter
- ○
added the new optional
queryrequest parametername.suffixnew-optional-request-parameter
- ○
added the new optional
queryrequest parameternew_usernamenew-optional-request-parameter
- ○
added the new optional
queryrequest parameterorg_short_namenew-optional-request-parameter
- ○
added the media type
application/jsonfor the response with the status400response-media-type-added
- ○
added the media type
application/jsonfor the response with the status401response-media-type-added
- ○
added the media type
application/jsonfor the response with the status403response-media-type-added
- ○
added the media type
application/jsonfor the response with the status404response-media-type-added
- ○
added the non-success response with the status
500response-non-success-status-added
- ○
added the success response with the status
200response-success-status-added
- ▲
- ○
added the new optional
queryrequest parameteractive_roles.addnew-optional-request-parameter
- ○
added the new optional
queryrequest parameteractive_roles.removenew-optional-request-parameter
- ○
added the new optional
queryrequest parametername.firstnew-optional-request-parameter
- ○
added the new optional
queryrequest parametername.lastnew-optional-request-parameter
- ○
added the new optional
queryrequest parametername.middlenew-optional-request-parameter
- ○
added the new optional
queryrequest parametername.suffixnew-optional-request-parameter
- ○
added the new optional
queryrequest parameternew_usernamenew-optional-request-parameter
- ○
- ▲
removed the media type
application/jsonfor the response with the status400response-media-type-removed
- ▲
removed the media type
application/jsonfor the response with the status401response-media-type-removed
- ▲
removed the media type
application/jsonfor the response with the status403response-media-type-removed
- ▲
removed the media type
application/jsonfor the response with the status404response-media-type-removed
- ▲
removed the success response with the status
200response-success-status-removed
- ●
deleted the
headerrequest parameterCVE-API-KEYrequest-parameter-removed
- ●
deleted the
headerrequest parameterCVE-API-ORGrequest-parameter-removed
- ●
deleted the
headerrequest parameterCVE-API-USERrequest-parameter-removed
- ●
deleted the
queryrequest parameteractiverequest-parameter-removed
- ●
deleted the
queryrequest parameteractive_roles.addrequest-parameter-removed
- ●
deleted the
queryrequest parameteractive_roles.removerequest-parameter-removed
- ●
deleted the
queryrequest parametername.firstrequest-parameter-removed
- ●
deleted the
queryrequest parametername.lastrequest-parameter-removed
- ●
deleted the
queryrequest parametername.middlerequest-parameter-removed
- ●
deleted the
queryrequest parametername.suffixrequest-parameter-removed
- ●
deleted the
queryrequest parameternew_usernamerequest-parameter-removed
- ●
deleted the
queryrequest parameterorg_short_namerequest-parameter-removed
- ○
api operation id
registryUserUpdateSingleremoved and replaced withapi-operation-id-removed
- ○
api tag
Registry Userremovedapi-tag-removed
- ○
removed the non-success response with the status
500response-non-success-status-removed
- ▲