Delete a domain

Remove a sending domain.

DELETEhttps://app.usenotix.dev/api/v1/domains/{id}

Needs a full access key. Sending access keys cannot call this. Key permissions lists the extra rules some calls have.

Remove a sending domain. Mail can no longer be sent from it.

Path parameters

idnumberrequired

Headers

Authorizationstringrequired

Bearer followed by your API key.

Errors

403

Forbidden - API key doesn't have access

404

Domain not found

409

The domain is paused for its sending reputation, or was warned in the last 7 days, and cannot be deleted. Contact support.

Every error has the same shape. See all error codes.

curl -X DELETE "https://app.usenotix.dev/api/v1/domains/<id>" \
  -H "Authorization: Bearer $NOTIX_API_KEY"
Response200
{
  "id": 1,
  "success": true,
  "message": "string"
}
Open in ClaudeOpen in ChatGPT