---
title: "Updates information about the organization specified by short name (accessible to Secretariat)"
method: PUT
path: "/org/{shortname}"
tags: ["Organization"]
---

# Updates information about the organization specified by short name (accessible to Secretariat)

`PUT /org/{shortname}`

<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> Updates any organization's information</p>

## Path parameters

- `shortname` string, required

## Query parameters

- `id_quota` integer
- `name` string
- `new_short_name` string
- `active_roles.add` 'CNA' | 'SECRETARIAT'
- `active_roles.remove` 'CNA' | 'SECRETARIAT'
- `registry` boolean

## Headers

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

## Response `200`

Returns information about the organization updated

- union
  - UpdateOrgResponseJson — unresolved $ref
  - UpdateRegistryOrgResponseJson — unresolved $ref

## Other responses

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

## Changes

- **2025-09-19** `efebaec5edf0` — 2 breaking
  - for the `query` request parameter `registry`, the type/format was changed from `string`/`` to `boolean`/``
  - added `#/components/schemas/update-org-response.json, #/components/schemas/update-registry-org-response.json` to the response body `oneOf` list for the response status `200`

[Change history](https://skmtc.dev/cveproject/apis/cve-services-api/changes/org/:shortname/put.md)

---

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