Disconnect one of this user's email accounts
DELETE
/api/v1/email/connections/{accountId}
const url = 'http://localhost:11044/api/v1/email/connections/example';const options = {method: 'DELETE', headers: {'X-Embabel-Api-Key': '<X-Embabel-Api-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url http://localhost:11044/api/v1/email/connections/example \ --header 'X-Embabel-Api-Key: <X-Embabel-Api-Key>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”accountId
required
string
The account’s provider-assigned id, as listed in accounts[].accountId by GET /api/v1/email/connections. Looked up in the caller’s own world only; an id not found there changes nothing and still answers 204
Responses
Section titled “Responses”OK

