Contacts
Delete Contact
This endpoint deletes an existing contact.
DELETE
/v1/contacts/:id
Bearer*
Body
id
string
The ID of the contact to delete.
Response
id
string
The ID provided in the data tab may be used to identify the case
object
string
The object type
success
number
Indicates whether the call was successful. 1 if successful, 0 if not.
curl --location --request DELETE 'https://api.stateset.com/v1/contact/:id' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": "co_1NXWPnCo6bFb1KQto6C8OWvE"
}'
{
"id": "co_1NXWPnCo6bFb1KQto6C8OWvE",
"object": "contact",
"deleted": true
}
curl --location --request DELETE 'https://api.stateset.com/v1/contact/:id' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": "co_1NXWPnCo6bFb1KQto6C8OWvE"
}'
{
"id": "co_1NXWPnCo6bFb1KQto6C8OWvE",
"object": "contact",
"deleted": true
}