## DeleteCustomDomain `organizations.custom_domains.delete(CustomDomainDeleteParams**kwargs) -> object` **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" ``` ### Parameters - `organization_id: str` organization_id is the ID of the organization to delete custom domain for ### Returns - `object` ### Example ```python import os from gitpod import Gitpod client = Gitpod( bearer_token=os.environ.get("GITPOD_API_KEY"), # This is the default and can be omitted ) custom_domain = client.organizations.custom_domains.delete( organization_id="b0e12f6c-4c67-429d-a4a6-d9838b5da047", ) print(custom_domain) ``` #### Response ```json {} ```