Contacts
Delete a contact
Contacts
Delete a contact
Delete a contact by ID
DELETE
/
v1
/
contacts
Authorization
string
*
Bearer
Authorization
Required
string
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Content-Type
string
*
Content-Type
Required
string
object
id
string
*
id
Required
string
The ID of the contact you want to delete.
curl --request DELETE \
--url https://api.useplunk.com/v1/contacts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: <content-type>' \
--data '{
"id": "<string>"
}'
{
"success": true,
"id": "80d74d13-16eb-48c5-bc2b-aae6fd5865cc",
"email": "hello@useplunk.com",
"subscribed": true,
"data": {
"project": "Plunk"
},
"createdAt": "2021-01-01T00:00:00.000Z",
"updatedAt": "2021-01-01T00:00:00.000Z"
}
Body
id
string
requiredThe ID of the contact you want to delete.
Headers
Content-Type
string
requiredapplication/json
Response
curl --request DELETE \
--url https://api.useplunk.com/v1/contacts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: <content-type>' \
--data '{
"id": "<string>"
}'
{
"success": true,
"id": "80d74d13-16eb-48c5-bc2b-aae6fd5865cc",
"email": "hello@useplunk.com",
"subscribed": true,
"data": {
"project": "Plunk"
},
"createdAt": "2021-01-01T00:00:00.000Z",
"updatedAt": "2021-01-01T00:00:00.000Z"
}