Skip to content

Delete Domain

DELETE
/v0/domains/{domain_id}
curl -s -X DELETE "https://api.yoagent.dev/v0/domains/dom_01je56wqswfmn9pgbc1wq8tjgq" \
-H "Authorization: Bearer $YOAGENT_KEY"

Delete a custom domain with its inboxes and all their mail.

domain_id
required
Domain Id
string
/^dom_[0-7][0-9a-hjkmnp-tv-z]{25}$/

Successful Response

An error (400, 401, 403, 404, 405, 409, 413, 429, 500, 503), in the one shape every call answers: Errors.