Users

Create a user with the provided short name as the owning organization (accessible to Admins and Secretariats)

<h2>Access Control</h2> <p>User must belong to an organization with the <b>Secretariat</b> role or be an <b>Admin</b> of the organization</p> <h2>Expected Behavior</h2> <p><b>Admin User:</b> Creates a user for the Admin's organization</p> <p><b>Secretariat:</b> Creates a user for any organization</p>
post/org/{shortname}/user

Path parameters

shortnamestring required

The shortname of the organization

Query parameters

registryboolean

When set to true, the endpoint will expect request data to conform to the applicable User Registry schema, and will provide response data conforming to the applicable User Registry schema. Defaults to false.

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

Request body

CreateUserRequestJson required— unresolved $ref

Response

Returns the new user information (with the secret)

CreateUserResponseJson required— unresolved $ref

Changes