Use this endpoint to retrieve (GET), update (PUT), or optout/unsubscribe (DELETE) a contact. To create a new contact, use the POST method for the contacts-collection API.
Click a method to view its documentation
Privileges: contacts:write
Using the DELETE method on a contact resource changes the contact's status to OPTOUT, which means that you can no longer send campaigns to this contact. Delete/OPTOUT a contact specified using the contactId
path parameter. Learn more about contact status here.
DELETE: https://api.constantcontact.com/v2/contacts/{contactId} |
|||
name |
type |
default |
description |
---|---|---|---|
api_key |
query |
REQUIRED; The API key for the application |
|
contactId |
path |
Id of the contact being deleted |
code |
description |
---|---|
204 |
Request was successful. No content will be returned |
401 |
Authentication failure |
404 |
Contact not found for id |
500 |
Internal server error occurred |