---
title: "Updates information about a user for the specified username and organization shortname (accessible to self, same-organization Admins, or Secretariat)"
method: PUT
path: "/registry/org/{shortname}/user/{username}"
tags: ["Registry User"]
---

# Updates information about a user for the specified username and organization shortname (accessible to self, same-organization Admins, or Secretariat)

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

<h2>Access Control</h2>  <p>Authenticated users can update their own name fields. Organization admins can update users in their organization. Secretariat users can update users in any organization.</p>  <h2>Expected Behavior</h2>  <p><b>Regular User:</b> Updates the user's own information. Only name fields may be changed.</p>  <p><b>Admin User:</b> Updates information about a user in the Admin's organization. Allowed to change all fields except org_short_name. </p>  <p><b>Secretariat:</b> Updates information about a user in any organization. Allowed to change all fields.</p>

## Path parameters

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

## Query parameters

- `active` boolean
- `org_short_name` string

## Headers

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

## Response `200`

Returns the updated user information

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