---
title: "Update an organization"
method: PATCH
path: "/organizations/{organizationId}"
tags: ["Organizations"]
---

# Update an organization

`PATCH /organizations/{organizationId}`

## Request

- Base URL: `https://api.cactal.ai/v1`
- URL: `https://api.cactal.ai/v1/organizations/{organizationId}`
- Auth: HTTP bearer

Partially updates the organization’s name, slug, logo, or metadata; omitted fields are left unchanged. The slug must be lowercase URL-safe and unique across all organizations (409 when taken). Requires a role with member management (owner or admin).

## Path parameters

- `organizationId` string, required

## Request body

- object
  - `name` string
  - `slug` string
  - `logo` string, uri, nullable
  - `metadata` object, nullable

## Response `200`

The updated organization.

- object
  - `id` string, required: Unique organization ID.
  - `name` string, required: Display name.
  - `slug` string, required: Unique URL-safe identifier (lowercase letters, digits, and hyphens).
  - `logo` string, nullable, required: Logo URL, or `null` when unset.
  - `metadata` object, nullable, required: Arbitrary key–value metadata attached to the organization. `null` when unset.
  - `createdAt` string, date-time, required: When the organization was created.

## Other responses

- `400`: Validation failed. The response `message` names the first invalid field.
- `401`: Missing, invalid, expired, or revoked API key.
- `403`: The authenticated principal lacks the required capability.
- `404`: The resource does not exist or is outside the principal’s access scope.
- `409`: The request conflicts with the current state of the resource.
- `429`: Rate limit exceeded. Retry after the number of seconds in the `Retry-After` header.

---

[API](https://skmtc.dev/cactal/apis/cactal-api.md) · [All operations](https://skmtc.dev/cactal/apis/cactal-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cactal/apis/cactal-api/revisions/9cd0fb5eacdd?raw)
