DELETE /v1/email/domains/{id}
DELETE
/v1/email/domains/{id}
const url = 'https://seu-endereco-da-api/v1/email/domains/example';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://seu-endereco-da-api/v1/email/domains/example \ --header 'Authorization: Bearer <token>'Permissão que a Chave de acesso precisa: Gerenciar a Central de apps (integrations:manage).
Authorizations
Seção intitulada “Authorizations”Parameters
Seção intitulada “Parameters”Path Parameters
Seção intitulada “Path Parameters”id
required
string
Responses
Seção intitulada “Responses”The domain still has senders
The e-mail provider did not remove the domain