WarmablyWarmablyDOCS
Search docs⌘K
Dashboard
API Reference/Endpoints

Delete an email

DELETE/api/linkedin/gateway/emails/{email_id}

Moves an email to the mailbox's trash folder.

Authentication

Send your personal API key as a bearer token. A missing, malformed or revoked key returns 401.

Path parameters

FieldTypeDescription
email_id *stringThe email's id.

Query parameters

FieldTypeDescription
account_id *stringThe connected account the email belongs to.

Response fields

FieldTypeDescription
object"EmailDeleted"Always this value.

Errors

·401 Unauthorized. The key is missing, malformed or has been rotated.·403 Forbidden. The account_id doesn't belong to this key.·404 Not Found. No email with that id belongs to this account.
CredentialsRequired
AuthorizationBearer wm_live_••••••••
RequestTry it
curl -X DELETE "https://api.warmably.com/api/linkedin/gateway/emails/7c1a9e42-6f3d-4b18-9e02-1a8f6d2c5b90?account_id=459993d2-b0e7-4b19-baf9-45252ca324cf" \
  -H "Authorization: Bearer wm_live_..."
Response
200 OK
{
  "object": "EmailDeleted"
}
No key yet? Create one from Dashboard → API Keys.