Skip to content
Esc
↑↓navigate↵open⌘Jpreview

Delete a domain management record

Delete an unbound domain record. Active registrations, attached provider zones, and unsettled DNS operations block deletion.

DELETE/v1/domains/{domainId}
Authorization
AuthorizationBearer token · headerrequired

Space key (sfc_…) for an unclaimed anonymous Space. Also the fragment of its claim URL and the token of its /__/<key> door. A publish without a credential returns it in claim with the claim link. With the key, getSpace extends the Space's expiry window, getSpaceVersion follows its publish, createSpaceOpenLink returns its reusable open link, and restoreSpace undoes a deleteSpace while the claim window remains open.

or
AuthorizationBearer token · headerrequired

Better Auth session, OAuth access token, OAuth client-credentials token, or sfm_ Space machine credential.

or
AuthorizationOAuth2 access token · headerrequired

OAuth 2.0 with explicit Spacefast capability scopes. Use the authorization-code flow for people and client credentials for machines.

Scopes:domains:write
Path parameters
domainIdstringrequired
Responses
204

The domain management record was deleted.

Try it
Server
Authorization
Parameters
Request
curl -X DELETE 'https://api.spacefast.com/v1/domains/string' \
  -H 'Authorization: Bearer YOUR_TOKEN'
Response
The domain management record was deleted.

Was this page helpful?