Skip to main content
DELETE
AhaSend Go SDK
The AhaSend API permanently deletes one contact. Access requires contacts:delete. {id_or_email} is the contact ID or its email address. Percent-encode an email address exactly once. See Name a contact in the path. The delete also removes the contact’s unsubscribe record, its list memberships, its campaign recipient records, its opens and its clicks. You cannot undo it. Suppressions for complaints and other permanent suppressions do not change. To stop marketing email to a contact, unsubscribe it instead: use Update Contact with unsubscribed: true. An unsubscribe keeps the record of the choice.

Authorizations

Authorization
string
header
required

API key for authentication. Non-empty Security Requirement values are AhaSend API-key roles. Roles listed within one requirement object are jointly required; separate requirement objects are alternatives.

Path Parameters

account_id
string<uuid>
required

Account ID

id_or_email
string
required

Contact UUID or email address. Percent-encode an email exactly once as a path segment; SDK callers pass the raw email value.

Response

Contact deleted

message
string
required

Success message