shadwshadw/Docs
GuidesAPIGetting Started
Dashboard
shadw REST APIOverviewErrors
  • POSTCreate a DNS record
  • PUTUpdate a DNS record
  • DELDelete a DNS record
  • POSTImport DNS records
  • GETScan existing DNS
APIs & SDKs/shadw REST API/Delete a DNS record

Delete a DNS record

DELETEhttps://api.shadw.cloud/v1/domains/{domain}/records/{id}

Delete a DNS record.

Authentication

AuthorizationbearerToken

A platform API key (hive_…, created under Settings → API Keys) or a short-lived JWT minted with POST /v1/token. An API key scopes the request to the team it was created under.

Path parameters

domainstringRequired

The domain name.

idstringRequired

The record id.

ts
const response = await fetch('https://api.shadw.cloud/v1/domains/{domain}/records/{id}', {
  method: 'DELETE',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY', // hive_… (Settings → API Keys)
  },
});

const data = await response.json();
console.log(data);
Response
json
{ "deleted": true }