---
title: "Update Organization Domains"
method: PATCH
path: "/v1/organizations/{organizationId}/domains"
tags: ["BackendService"]
---

# Update Organization Domains

`PATCH /v1/organizations/{organizationId}/domains`

## Request

- The document declares no server URL.
- Auth: none declared

Update Organization Domains.

## Path parameters

- `organizationId` string, required

## Request body

- OrganizationDomains: OrganizationDomains defines the domains associated with an Organization.
  - `organizationId` string: The ID of the Organization.
  - `domains` string[]: A list of domains associated with the organization. When an Organization uses SAML or SCIM, only emails from this list are permitted.

## Response `200`

OK

- UpdateOrganizationDomainsResponse
  - `organizationDomains` OrganizationDomains: OrganizationDomains defines the domains associated with an Organization.
    - `organizationId` string: The ID of the Organization.
    - `domains` string[]: A list of domains associated with the organization. When an Organization uses SAML or SCIM, only emails from this list are permitted.

## Other responses

- `400`: API Error
- `401`: API Error
- `403`: API Error
- `404`: API Error

## Changes

- **2025-03-11** `e3ac0347dfbe`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/tesseral-labs/apis/backendservice-api/changes/v1/organizations/:organizationId/domains/patch.md)

---

[API](https://skmtc.dev/tesseral-labs/apis/backendservice-api.md) - [All operations](https://skmtc.dev/tesseral-labs/apis/backendservice-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tesseral-labs/apis/backendservice-api/revisions/fe83f78ae20a?raw)
