curl --location --request DELETE 'https://app.audienceful.com/api/people/' \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <token>' \
--data-raw '{
"email" : "[email protected] "
} '
{
"uid" : "jQKdwqp3YRRtTrwqUJEp7d" ,
"email" : "[email protected] " ,
"notes" : "" ,
"extra_data" : {
"custom_field" : "Test data" ,
} ,
"tags" : [
{
"name" : "Test tag" ,
"color" : "#f5e0e9"
}
] ,
"created_at" : "2023-08-03T02:44:56.122079Z" ,
"last_activity" : "2023-08-03T02:44:56.122079Z" ,
"status" : "active" ,
}
Body
The email of the person you wish to delete
Response
We return the object that was just deleted for any local cache management you may have to do with your application.
Notes associated with this person
All custom fields for a person
An example of a custom field you may have for your audience. The data name for each field, if available, can be listed here.
The list of tags for this person
This is the datetime (UTC) at which the person was created.
This is the datetime (UTC) for the last activity of this person. Example activities that update this field are: creation, open email, click email, unsubscribed from email
The status of the person.
The person has not confirmed their double opt in email
The person's email failed to deliver (permanent)
The person has unsubscribed
curl --location --request DELETE 'https://app.audienceful.com/api/people/' \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <token>' \
--data-raw '{
"email" : "[email protected] "
} '
{
"uid" : "jQKdwqp3YRRtTrwqUJEp7d" ,
"email" : "[email protected] " ,
"notes" : "" ,
"extra_data" : {
"custom_field" : "Test data" ,
} ,
"tags" : [
{
"name" : "Test tag" ,
"color" : "#f5e0e9"
}
] ,
"created_at" : "2023-08-03T02:44:56.122079Z" ,
"last_activity" : "2023-08-03T02:44:56.122079Z" ,
"status" : "active" ,
}