Remove custom domain

Detach the custom hostname from a hosted static website.

← All Pages endpoints · Capability overview

DELETE/v1/pages/{page_id}/custom-domain

https://api.vee3.io/v1/pages/{page_id}/custom-domain

5 tokens

Detach the custom hostname from a hosted static website.

Authorization

Send your API key in the Authorization header:

Authorization: Bearer YOUR_API_KEY

MCP

The same capability is available as an MCP tool on Vee3 hosted MCP.

Tool name

pages.remove_custom_domain
Parameters1 field
page_idstringRequired

Page id to detach the custom domain from.

Response10 fields
page_idstring

Unique identifier for the page.

namestring

Display name for the page, if set.

slugstring

Page slug.

statusstring

Current page status.

urlstring

Public HTTPS URL for the page. Uses the custom domain when one is attached.

hostnamestring

Preview hostname ({slug}.vee3.site). Always present, including when a custom domain is attached.

custom_domainstring

Custom hostname attached to the page, if any.

created_atstring

When the page was created.

updated_atstring

When the page record was last updated.

last_deployed_atstring

When files were last deployed to the page.

HTTP errors: unauthorized, validation_error, insufficient_tokens, payment_required, page_not_found