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

# Update organization

`PATCH /api/organizations/{id}`

Update organization details by ID with the given data.

## Path parameters

- `id` string, required

## Request body

- object
  - `tenantId` string
  - `id` string
  - `name` string — The updated name of the organization.
  - `description` string, nullable — The updated description of the organization.
  - `customData` object — arbitrary
  - `isMfaRequired` boolean
  - `color` object
    - `primaryColor` string, regex
    - `isDarkModeEnabled` boolean
    - `darkPrimaryColor` string, regex
  - `branding` object
    - `logoUrl` string, url
    - `darkLogoUrl` string, url
    - `favicon` string, url
    - `darkFavicon` string, url
  - `customCss` string, nullable
  - `createdAt` number

## Response `200`

The organization was updated successfully.

- object
  - `tenantId` string, required
  - `id` string, required
  - `name` string, required
  - `description` string, nullable, required
  - `customData` object, required — arbitrary
  - `isMfaRequired` boolean, required
  - `color` object, required
    - `primaryColor` string, regex
    - `isDarkModeEnabled` boolean
    - `darkPrimaryColor` string, regex
  - `branding` object, required
    - `logoUrl` string, url
    - `darkLogoUrl` string, url
    - `favicon` string, url
    - `darkFavicon` string, url
  - `customCss` string, nullable, required
  - `createdAt` number, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Unprocessable Content

---

[API](https://skmtc.net/logto/apis/logto-api-references.md) · [All operations](https://skmtc.net/logto/apis/logto-api-references/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/logto/logto-api-references/versions/a163dc77d842/schema)
