Remove a custom domain
Detaches the domain from Vercel (best-effort) and deletes it. After this the host no longer routes to the gallery.
Detaches the domain from Vercel (best-effort) and deletes it. After this the host no longer routes to the gallery.
Authorization
bearerAuth gallery:deleteA gallery API key, sent as Authorization: Bearer gpk_… (or the x-api-key header).
In: header
Scope: gallery:delete
Path Parameters
Header Parameters
Optional. Send a unique key per logical operation to make retries safe: a retry with the same key replays the stored success for 14 days instead of re-running the write. Reusing a key with a different body returns 400.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
{ "id": "string", "deleted": true}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "string", "retry": "permanent", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "string", "retry": "permanent", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "string", "retry": "permanent", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "string", "retry": "permanent", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "string", "retry": "permanent", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "string", "retry": "permanent", "details": null}Attach a custom domain to the gallery POST
Validates a subdomain (real FQDN, not a bare apex, not platform/Vercel-owned, not already taken), mints a verification token, and stores it as pending_dns. Returns the DNS records to publish. Requires the custom_domains entitlement.
Get a custom domain GET
Returns a single custom domain's status and the DNS records to publish.