Stop monitoring a domain
DELETE/v1/dmarc/domains/{id}
Removes the domain and every report we stored for it. Reports sent to its address afterwards are discarded.
Required scope: domains:manage
Parameters
| Name | In | Description |
|---|---|---|
idrequired | path | The DMARC domain id. |
Example
curl -X DELETE 'https://api.sendsend.email/v1/dmarc/domains/ID' \
-H "Authorization: Bearer $SENDSEND_API_KEY"Response 200
{
"object": "dmarc_domain",
"id": "dmd_3f9a…",
"deleted": true
}Errors
| Status | Code | When |
|---|---|---|
| 404 | not_found | No such resource in this project. |
| 401 | unauthorized | The API key is missing, invalid or revoked. |
| 403 | forbidden | The key does not have the scope this endpoint needs. |
Every error has the same shape. See Errors.