Domains

Delete domain

Remove a sending domain. Emails already sent are unaffected, but the domain can no longer be used as a from address.

DELETEhttps://api.sndr.sh/api/cranl/v1/domains/{id}
Delete domain
curl -X DELETE 'https://api.sndr.sh/api/cranl/v1/domains/dom_a7c2e910-4b1' \
  -H 'Authorization: Bearer sndr_your_access_token'
204No Content

No response body.

Authorization

Authorizationstringheaderrequired

Bearer followed by an access token. Needs the send scope.

Path parameters

idstringrequired

Domain ID (dom_...).

Errors

401unauthenticatedMissing or invalid Bearer token.
401token_expiredAccess token expired — exchange the refresh token for a new pair.
401token_revokedToken was explicitly revoked.
403insufficient_scopeToken is missing the send scope.
404not_foundResource does not exist or belongs to a different account.