Zum Inhalt springen
Esc
↑↓navigieren↵öffnen⌘Jvorschau

Delete a domain

DELETE/domains/{id}
Autorisierung
AuthorizationBearer-Token · headererforderlich

A BillionSend API key (bs_…).

Pfadparameter
idstring<uuid>erforderlich
Antworten
200

Domain deleted

objectstringerforderlich
Erlaubt:domain
idstring<uuid>erforderlich
deletedbooleanerforderlich
Erlaubt:true
401

Missing, malformed, unknown or revoked API key

statusCodenumbererforderlich
namestringerforderlich
messagestringerforderlich
403

Team suspended, not available for this team, or the team's subdomain of the shared domain, which is read-only

statusCodenumbererforderlich
namestringerforderlich
messagestringerforderlich
404

Not found, or a domain other than the one the calling key is held to

statusCodenumbererforderlich
namestringerforderlich
messagestringerforderlich
409

Topics or segments are bound to the domain, or a scheduled or sending broadcast uses it

statusCodenumbererforderlich
namestringerforderlich
messagestringerforderlich
429

Over the rate limit (rate_limit_exceeded, with Retry-After)

statusCodenumbererforderlich
namestringerforderlich
messagestringerforderlich
Ausprobieren
Server
Autorisierung
Parameter
Anfrage
curl -X DELETE 'https://api.billionsend.com/domains/497f6eca-6276-4993-bfeb-53cbbbba6f08' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json'
Antwort
{
  "object": "domain",
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "deleted": true
}

War diese Seite hilfreich?