Unshare a custom domain
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
Unshare a custom domain
Authorizations
OAuth2 authentication with JWT tokens
Path Parameters
Name of the custom domain
Name of the target workspace, or "account" for an account-wide share.
Response
successful operation
Custom domain for preview deployments The custom domain represents a base domain (e.g., example.com) that will be used to serve preview deployments. Each preview will be accessible at a subdomain: .preview. (e.g., abc123.preview.example.com)
Last modified on July 14, 2026
