---
title: "Update organization"
method: PATCH
path: "/v1/organizations/{id}"
tags: ["Organization"]
---

# Update organization

`PATCH /v1/organizations/{id}`

Update the organization by its ID.

## Request body

- object
  - `name` string — Name of the organization.
  - `email` string, email — Email address of the organization.
  - `logo` string, uri, nullable — Logo of the organization.
  - `website` string, uri, nullable — Work title of the user.
  - `status` 'active' | 'deleted' — Status of the organization.

## Response `200`

OK

- Organization — An organization in the system.
  - `id` string, required — Unique identifier of the organization.
  - `name` string, required — Name of the organization.
  - `email` string, email, required — Email address of the organization.
  - `logo` string, uri, nullable, required — Logo of the organization.
  - `website` string, uri, nullable, required — Work title of the user.
  - `status` 'active' | 'deleted', required — Status of the organization.
  - `member_count` integer, nullable — Number of members in the organization when projected.
  - `document_count` integer, nullable — Number of documents that belong to the organization when projected.
  - `team_count` integer, nullable — Number of teams in the organization when projected.
  - `namespace_count` integer, nullable — Number of namespaces in the organization when projected.
  - `created_at` string, date-time, required — Date when the organization was created.
  - `updated_at` string, date-time, nullable, required — Date when the organization was updated.

## Other responses

- `400` — Bad request
- `401` — Unauthorized request
- `403` — Forbidden
- `404` — The requested resource not found
- `500` — Internal Server Error

## Changes

- **2026-08-18** `addaba6fddad` — 1 info
  - added the optional property `document_count` to the response with the `200` status
- **2026-08-16** `6965ecf3ab92` — 3 breaking, 3 info
  - removed the required property `members` from the response with the `200` status
  - removed the required property `namespaces` from the response with the `200` status
  - removed the required property `teams` from the response with the `200` status
  - added the optional property `member_count` to the response with the `200` status
  - …2 more
- **2025-11-10** `a7da8637f63d` — 2 info
  - the request property `logo` became nullable
  - the request property `website` became nullable
- **2023-06-14** `1057260fde29` — 2 info
  - api tag `Organization` added
  - api tag `Organizations` removed
- **2023-05-24** `11f0e17a96b4` — 1 info
  - endpoint added

[Full history](https://skmtc.dev/opcotech/apis/elemo-api/changes/v1/organizations/:id/patch.md)

---

[API](https://skmtc.dev/opcotech/apis/elemo-api.md) · [All operations](https://skmtc.dev/opcotech/apis/elemo-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/opcotech/elemo-api/revisions/79a22e0df7c8/schema)
