Set domain destination
PUT/api/domains/:id
x-audience: "management"
x-required-scope: "domains:write"
Requires endpointId. Set null or an empty string to disconnect. Hosted addresses use /api/hosted-address. Newly accepted messages use the selected destination, while previously accepted messages keep the destination recorded at acceptance.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 429
- 503
Success
Invalid request.
Missing, invalid or revoked credentials.
Required scope or account access missing.
Resource 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