Registry User

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>
put/registry/org/{shortname}/user/{username}

Path parameters

shortnamestring required

The shortname of the organization

usernamestring required

The username of the user

Query parameters

activeboolean

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

org_short_namestring

The new organization for the user

Headers

CVE-API-ORGstring required

The shortname for the organization associated with the user requesting authentication

CVE-API-USERstring required

The username for the account making the request

CVE-API-KEYstring required

The user's API key

Response

Returns the updated user information

UpdateRegistryUserResponseJson required— unresolved $ref

Changes

Changed in 6 of the 57 revisions of this API.91928

    • deleted the query request parameter active_roles.add

      request-parameter-removed

    • deleted the query request parameter active_roles.remove

      request-parameter-removed

    • deleted the query request parameter name.first

      request-parameter-removed

    • deleted the query request parameter name.last

      request-parameter-removed

    • deleted the query request parameter name.middle

      request-parameter-removed

    • deleted the query request parameter name.suffix

      request-parameter-removed

    • deleted the query request parameter new_username

      request-parameter-removed

    • endpoint added

      endpoint-added

    • api path removed without deprecation

      api-path-removed-without-deprecation

  • 63c3d9620e8a317See the full diff
    • added the new required header request parameter CVE-API-KEY

      new-required-request-parameter

    • added the new required header request parameter CVE-API-ORG

      new-required-request-parameter

    • added the new required header request parameter CVE-API-USER

      new-required-request-parameter

    • api operation id registryUserUpdateSingle was added

      api-operation-id-added

    • api tag Registry User added

      api-tag-added

    • added the new optional query request parameter active

      new-optional-request-parameter

    • added the new optional query request parameter active_roles.add

      new-optional-request-parameter

    • added the new optional query request parameter active_roles.remove

      new-optional-request-parameter

    • added the new optional query request parameter name.first

      new-optional-request-parameter

    • added the new optional query request parameter name.last

      new-optional-request-parameter

    • added the new optional query request parameter name.middle

      new-optional-request-parameter

    • added the new optional query request parameter name.suffix

      new-optional-request-parameter

    • added the new optional query request parameter new_username

      new-optional-request-parameter

    • added the new optional query request parameter org_short_name

      new-optional-request-parameter

    • added the media type application/json for the response with the status 400

      response-media-type-added

    • added the media type application/json for the response with the status 401

      response-media-type-added

    • added the media type application/json for the response with the status 403

      response-media-type-added

    • added the media type application/json for the response with the status 404

      response-media-type-added

    • added the non-success response with the status 500

      response-non-success-status-added

    • added the success response with the status 200

      response-success-status-added

    • added the new optional query request parameter active_roles.add

      new-optional-request-parameter

    • added the new optional query request parameter active_roles.remove

      new-optional-request-parameter

    • added the new optional query request parameter name.first

      new-optional-request-parameter

    • added the new optional query request parameter name.last

      new-optional-request-parameter

    • added the new optional query request parameter name.middle

      new-optional-request-parameter

    • added the new optional query request parameter name.suffix

      new-optional-request-parameter

    • added the new optional query request parameter new_username

      new-optional-request-parameter

  • f7f264af51555123See the full diff
    • removed the media type application/json for the response with the status 400

      response-media-type-removed

    • removed the media type application/json for the response with the status 401

      response-media-type-removed

    • removed the media type application/json for the response with the status 403

      response-media-type-removed

    • removed the media type application/json for the response with the status 404

      response-media-type-removed

    • removed the success response with the status 200

      response-success-status-removed

    • deleted the header request parameter CVE-API-KEY

      request-parameter-removed

    • deleted the header request parameter CVE-API-ORG

      request-parameter-removed

    • deleted the header request parameter CVE-API-USER

      request-parameter-removed

    • deleted the query request parameter active

      request-parameter-removed

    • deleted the query request parameter active_roles.add

      request-parameter-removed

    • deleted the query request parameter active_roles.remove

      request-parameter-removed

    • deleted the query request parameter name.first

      request-parameter-removed

    • deleted the query request parameter name.last

      request-parameter-removed

    • deleted the query request parameter name.middle

      request-parameter-removed

    • deleted the query request parameter name.suffix

      request-parameter-removed

    • deleted the query request parameter new_username

      request-parameter-removed

    • deleted the query request parameter org_short_name

      request-parameter-removed

    • api operation id registryUserUpdateSingle removed and replaced with

      api-operation-id-removed

    • api tag Registry User removed

      api-tag-removed

    • removed the non-success response with the status 500

      response-non-success-status-removed