---
title: "Create a user with the provided short name as the owning organization (accessible to Secretariat or target organization Admin)"
method: POST
path: "/org/{shortname}/user"
tags: ["Users"]
---

# Create a user with the provided short name as the owning organization (accessible to Secretariat or target organization Admin)

`POST /org/{shortname}/user`

<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> Creates a user for the Admin's organization</p>  <p><b>Secretariat:</b> Creates a user for any organization</p>

## Path parameters

- `shortname` string, required

## Headers

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

## Request body

- CreateUserRequestJson — unresolved $ref

## Response `200`

Returns the new user information (with the secret)

- CreateUserResponseJson — 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)
