Gallery Platform API
Reference

Remove a custom domain

Detaches the domain from Vercel (best-effort) and deletes it. After this the host no longer routes to the gallery.

DELETE
/gallery/domains/{id}

Detaches the domain from Vercel (best-effort) and deletes it. After this the host no longer routes to the gallery.

Authorization

bearerAuth gallery:delete
AuthorizationBearer <token>

A gallery API key, sent as Authorization: Bearer gpk_… (or the x-api-key header).

In: header

Scope: gallery:delete

Path Parameters

id*string

Header Parameters

Idempotency-Key?string

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}