Skip to main content
POST
/
api
/
v2
/
dfy-email-account-orders
/
accounts
/
cancel
Cancel dfy email accounts
curl --request POST \
  --url https://api.instantly.ai/api/v2/dfy-email-account-orders/accounts/cancel \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "accounts": [
    "test@test.com"
  ]
}
'
{
  "items": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "domain": "example.com",
      "email": "user@example.com",
      "email_provider": 1,
      "first_name": "John",
      "last_name": "Doe",
      "is_pre_warmed_up": true,
      "timestamp_cancelled": "2025-01-01T00:00:00.000Z",
      "timestamp_created": "2025-01-01T00:00:00.000Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
accounts
string[]
required

List of emails to cancel the DFY email accounts for.

Minimum array length: 1

Response

Default Response

items
object[]
required

The list of cancelled email accounts.