View as Markdown

SDK reference · Python SDK

prov.account.remove_email_domain

prov.account.remove_email_domain in Python SDK.

Signature

prov.account.remove_email_domain(domain_id: str) -> Any

Parameters

domain_idstrRequired

Request fields

idstringpathRequired
The sending domain's id.

Returns

Any The deleted domain.

HTTP operation

DELETE /v1/account/email_domains/{id}: Remove a sending domain

Errors

Example

const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/account/email_domains/edom_4c1f9a0b2e7d6c5a8b3f1e0d`, {
  method: "DELETE",
  headers: { Authorization: "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5" },
})).json();

Was this page helpful? Send us feedback

LLM? Read llms.txt.