v1

latestOpenAPI 3.0.32026-07-22194221292.5 KB
customdomains

Unshare a custom domain

Revokes sharing of a custom domain with a target workspace (or the account when targetWorkspace is "account"). Removes the shared copy / clears the account-global marker; the owner's domain is not affected.

delete/customdomains/{domainName}/share/{targetWorkspace}

Path parameters

domainNamestring required

Name of the custom domain

targetWorkspacestring required

Name of the target workspace, or "account" for an account-wide share.

Response

successful operation

Example response

{
  "metadata": {
    "displayName": "Preview Domain",
    "name": "preview.example.com"
  },
  "spec": {
    "domainType": "applications",
    "fallbackPreviewId": "my-fallback-preview",
    "region": "us-pdx-1",
    "status": "verified"
  }
}