v55

latestOpenAPI 3.0.2raw.githubusercontent.com2026-08-05560268.5 KB
Registry User

Revokes a role from a user (accessible to Secretariat or Org Admin)

<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 target organization</p> <h2>Expected Behavior</h2> <p><b>Admin User:</b> Revokes a role from a user in the Admin's organization</p> <p><b>Secretariat:</b> Revokes a role from a user in any organization</p>
post/registry/org/{shortname}/user/{username}/revoke-role

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

Request body

role'ADMIN' required

Response

Role revoked successfully

messagestring