---
title: "DeleteCustomDomain"
method: POST
path: "/gitpod.v1.OrganizationService/DeleteCustomDomain"
tags: ["gitpod.v1.OrganizationService"]
---

# DeleteCustomDomain

`POST /gitpod.v1.OrganizationService/DeleteCustomDomain`

Removes a custom domain configuration from an organization.

 Use this method to:
 - Disable custom domain functionality
 - Remove outdated configurations
 - Clean up unused domains

 ### Examples

 - Delete custom domain configuration:

   Removes a specific custom domain configuration.

   ```yaml
   organizationId: "b0e12f6c-4c67-429d-a4a6-d9838b5da047"
   ```

## Request body

- GitpodV1DeleteCustomDomainRequest — DeleteCustomDomainRequest is the request message for deleting a custom domain
  - `organizationId` string, uuid, required — organization_id is the ID of the organization to delete custom domain for

## Response `200`

Success

- GitpodV1DeleteCustomDomainResponse — DeleteCustomDomainResponse is the response message for deleting a custom domain

## Other responses

- `default` — Error

---

[API](https://skmtc.net/gitpod-io/apis/gitpod-v1.md) · [All operations](https://skmtc.net/gitpod-io/apis/gitpod-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gitpod-io/gitpod-v1/revisions/44d50c2ac284/schema)
