---
title: "Deletes the registry user specified by organization and username (accessible to Secretariat only)"
method: DELETE
path: "/registry/org/{shortname}/user/{username}"
tags: ["Registry User"]
---

# Deletes the registry user specified by organization and username (accessible to Secretariat only)

`DELETE /registry/org/{shortname}/user/{username}`

<h2>Access Control</h2>  <p>User must belong to an organization with the <b>Secretariat</b> role</p>  <h2>Expected Behavior</h2>  <p><b>Secretariat:</b> Deletes the specified user from the specified organization</p>

## Path parameters

- `shortname` string, required
- `username` string, required

## Headers

- `CVE-API-ORG` string, required
- `CVE-API-USER` string, required
- `CVE-API-KEY` string, required

## Response `200`

Confirms deletion of the registry user

- DeleteRegistryUserResponseJson — unresolved $ref

## Other responses

- `400` — Bad Request
- `401` — Not Authenticated
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/cveproject/apis/cve-services-api.md) · [All operations](https://skmtc.net/cveproject/apis/cve-services-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cveproject/cve-services-api/revisions/37d9d2a0b112/schema)
