DELETE
/
v2
/
accounts
/
{account_id}
/
smtp-credentials
/
{smtp_credential_id}
Delete SMTP Credential
curl --request DELETE \
  --url https://api.ahasend.com/v2/accounts/{account_id}/smtp-credentials/{smtp_credential_id} \
  --header 'Authorization: Bearer <token>'
{
  "message": "Operation completed successfully"
}

Authorizations

Authorization
string
header
required

API key for authentication

Path Parameters

account_id
string<uuid>
required

Account ID

smtp_credential_id
string<uuid>
required

SMTP Credential ID

Response

200
application/json

SMTP credential deleted successfully

The response is of type object.