Users
Reset the API key for a user (accessible to self, same-organization Admins, or Secretariat)
<h2>Access Control</h2> <p>Authenticated users can reset their own API secret. Organization admins can reset users in their organization. Secretariat users can reset any user's API secret.</p> <h2>Expected Behavior</h2> <p><b>Regular User:</b> Resets user's own API secret</p> <p><b>Admin User:</b> Resets any user's API secret in the Admin's organization</p> <p><b>Secretariat:</b> Resets any user's API secret</p>put/org/{shortname}/user/{username}/reset_secret
Path parameters
shortnamestring required
The shortname of the organization
usernamestring required
The username of 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 new API key
ResetSecretResponseJson required— unresolved $ref
Changes
No recorded changes to this endpoint across all 57 revisions of this API.