---
title: "Updates the given organization's provided fields."
method: PATCH
path: "/organizations/{organizationId}"
tags: ["Organization"]
---

# Updates the given organization's provided fields.

`PATCH /organizations/{organizationId}`

Only the fields present in the body are changed, and only those the caller may change. An
 auto-join domain is rejected when it is malformed or already claimed by another organization;
 enabling auto-join without a claimed domain is rejected as well.

## Path parameters

- `organizationId` string, required

## Request body

- UpdateOrganizationEndpointInput
  - `name` string — The new human-readable name, if changing it.
  - `autoJoinDomain` string, nullable — The email domain to claim for auto-join, or null to release the claim. New customers who sign up with a confirmed email on this domain join this organization instead of getting a personal one, once auto-join is enabled. Existing customers are never moved.
  - `autoJoinEnabled` boolean — Whether to auto-join new customers signing up on the claimed domain.

## Response `204`

No Content

## Other responses

- `400` — Bad Request
- `401` — Unauthenticated
- `403` — Forbidden

## Changes

- **2026-09-04** `9da534659e5f` — 3 info
  - the security scope `api` was added to the endpoint's security scheme `OpenIdConnect`
  - added the new optional request property `autoJoinDomain`
  - added the new optional request property `autoJoinEnabled`
- **2026-08-31** `f5235270ce3c` — 1 warning
  - removed the request property `slug`

[Change history](https://skmtc.dev/rapidata/apis/rapidata-api/changes/organizations/:organizationId/patch.md)

---

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