Delete a brand's sending domain
Its name is free at once, and Synq removes it from its email provider. Refused while the brand's email is set to come from it. On any plan, so an org that moved down can clean up. Needs `org.emailDomains.edit` in the brand. Recorded as `email_domain.deleted`.
/v1/orgs/{org}/brands/{brand}/email-domains/{domain}Its name is free at once, and Synq removes it from its email provider. Refused while the brand's email is set to come from it. On any plan, so an org that moved down can clean up. Needs org.emailDomains.edit in the brand. Recorded as email_domain.deleted.
Authorization
bearer An org API key (sk_live_…, sk_test_…), or an access token from the Synq issuer (the synq brand, on the accounts host) for this API.
In: header
Path Parameters
The org's id
^org_[0-9a-hjkmnp-tv-z]{26}$The brand's id
^brd_[0-9a-hjkmnp-tv-z]{26}$The sending domain's id
^edm_[0-9a-hjkmnp-tv-z]{26}$Response Body
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X DELETE "https://api.synq.build/v1/orgs/org_01h455vb4pex5vsknk084sn02q/brands/brd_01h455vb4pex5vsknk084sn02q/email-domains/edm_01h455vb4pex5vsknk084sn02q" \ -H "Authorization: Bearer $SYNQ_API_KEY"Add a domain to verify POST
A domain the org proves it owns, so its people can sign in through its own identity provider: on a plan with `team.sso` (Enterprise). It starts `pending`, with the TXT record to publish; then verify it. Several orgs may add a name, and the first to prove it holds it. At most 10 added a day, and 20 in all. Needs `org.sso.edit` across the org. Recorded as `org_domain.created`.
Read a brand's sending domain GET
Its records, and what Synq last saw at each. Needs `org.emailDomains.view` in the brand, on any plan.