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

# Update an organization

`PATCH /v0/organizations/{organization}`

Update an organization where the user is a member. The user must have `edit` permissions for the organization. If updating the license, the user must have `manage` permissions for the organization.

## Path parameters

- `organization` string, required

## Request body

- union
  - JsonOrganizationPatch
    - `license` string
    - `name` string
    - `slug` string
  - JsonOrganizationPatchNull
    - `license` string, required
    - `name` string
    - `slug` string

## Response `200`

successful operation

- JsonOrganization
  - `claimed` string, date-time
  - `created` string, date-time, required
  - `license` string
  - `modified` string, date-time, required
  - `name` string, required
  - `slug` string, required
  - `sso` JsonSso[], nullable
    - `created` string, date-time, required
    - `domain` string, required
    - `uuid` string, uuid, required
  - `uuid` string, uuid, required

## Other responses

- `4XX` — Error
- `5XX` — Error

---

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