Delete an exact-address route
DELETE/api/domains/:id/routes/:routeId
x-audience: "management"
x-required-scope: "domains:write"
Removes the exact route so future mail to that address uses the domain catch-all, if configured. Unmatched addresses are rejected when no catch-all is configured. Previously accepted messages retain their pinned route and endpoint revisions.
Request
Responses
- 204
- 401
- 403
- 404
- 429
- 503
Deleted. Empty body.
Missing, invalid or revoked credentials.
Required scope or account access missing.
Domain or route not found in this account.
Shared client-IP or account request allowance exhausted. Retry after the indicated number of seconds. Browser authentication errors can use a different response format.
Response Headers
Cache-Control
no-store
Retry-After
Seconds to wait before retrying.
Request limiting cannot be enforced. Retry later with backoff.
Response Headers
Cache-Control
no-store