Set the default sending domain

Marks a verified domain as the organization's default sending domain, atomically clearing any previous default.

POST
/v1/email/domains/{id}/default

Marks a verified domain as the organization's default sending domain, atomically clearing any previous default. Omitted-from sends resolve through the default domain's default sender.

x-api-key<token>

In: header

Path Parameters

id*string
Match^dom_[0-9a-hjkmnp-tv-z]{16,24}$

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/email/domains/string/default"
{  "success": true,  "message": "string"}

Related