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

# Update Organization Google Hosted Domains

`PATCH /v1/organizations/{organizationId}/google-hosted-domains`

Update Organization Google Hosted Domains.

## Path parameters

- `organizationId` string, required

## Request body

- OrganizationGoogleHostedDomains — OrganizationGoogleHostedDomains represents the Google Hosted Domains ("HDs") associated with an Organization.
  - `organizationId` string — The ID of the Organization.
  - `googleHostedDomains` string[] — A list of Google-hosted domains associated with the organization. These values correspond to Google OAuth `hd` claims: https://developers.google.com/identity/openid-connect/openid-connect#obtainuserinfo

## Response `200`

OK

- UpdateOrganizationGoogleHostedDomainsResponse
  - `organizationGoogleHostedDomains` OrganizationGoogleHostedDomains — OrganizationGoogleHostedDomains represents the Google Hosted Domains ("HDs") associated with an Organization.
    - `organizationId` string — The ID of the Organization.
    - `googleHostedDomains` string[] — A list of Google-hosted domains associated with the organization. These values correspond to Google OAuth `hd` claims: https://developers.google.com/identity/openid-connect/openid-connect#obtainuserinfo

## Other responses

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

---

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