Skip to main content
POST
/
email
/
sending-identities
/
{identity}
/
disable
Disable sender
curl --request POST \
  --url https://www.dench.com/api/v1/email/sending-identities/{identity}/disable \
  --header 'Authorization: Bearer <token>'
{
  "ok": true,
  "disabled": [
    {
      "identityId": "esi_abc123",
      "fromEmail": "founder@example.com",
      "disabled": true
    }
  ]
}

Authorizations

Authorization
string
header
required

Workspace-scoped Dench API key from workspace settings. This is the same key used by DENCH_API_KEY in sandboxes.

Path Parameters

identity
string
required

Identity id, sender email, or domain (disables every sender on the domain).

Response

Successful response

ok
boolean
required
disabled
object[]
required