Saltar al contenido
Esc
↑↓navegar↵abrir⌘Jvista previa

Delete a domain

DELETE/domains/{id}
Autorización
AuthorizationToken Bearer · headerobligatorio

A BillionSend API key (bs_…).

Parámetros de ruta
idstring<uuid>obligatorio
Respuestas
200

Domain deleted

objectstringobligatorio
Valores permitidos:domain
idstring<uuid>obligatorio
deletedbooleanobligatorio
Valores permitidos:true
401

Missing, malformed, unknown or revoked API key

statusCodenumberobligatorio
namestringobligatorio
messagestringobligatorio
403

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

statusCodenumberobligatorio
namestringobligatorio
messagestringobligatorio
404

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

statusCodenumberobligatorio
namestringobligatorio
messagestringobligatorio
409

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

statusCodenumberobligatorio
namestringobligatorio
messagestringobligatorio
429

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

statusCodenumberobligatorio
namestringobligatorio
messagestringobligatorio
Pruébalo
Servidor
Autorización
Parámetros
Solicitud
curl -X DELETE 'https://api.billionsend.com/domains/497f6eca-6276-4993-bfeb-53cbbbba6f08' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json'
Respuesta
{
  "object": "domain",
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "deleted": true
}

¿Te ha resultado útil esta página?