Delete a contact
Delete a contact given its ID.
Authorizations
Path parameters
workspaceIdstring · uuidRequiredExample:
Your workspace identifier.
b4e02c85-c6d2-4b15-8885-e09671799c61
contactIdstringRequiredExample:
The ID of a contact.
b4e02c85-c6d2-4b15-8885-e09671799c61
Query parameters
attributestring[]OptionalExample:
The set of attribute keys to return for the contact besides all non-empty attributes.
["age","company"]
Responses
204
The contact was deleted successfully.
404
The contact or workspace was not found.
application/json
delete
DELETE /workspaces/{workspaceId}/contacts/{contactId} HTTP/1.1
Host: api.bird.com
Authorization: Bearer JWT
Accept: */*
No content
Examples
Let's establish some of our data that will be used in the following examples:
Workspace ID: a1405560-c8d3-4b1a-877d-3f449ad95352
AccessKey: abcd
Contact ID: 12bd0e40-9361-4e32-8b26-99b4ab7eae09
Delete a contact
In this example, we're deleting a contact by its ID.
curl -X DELETE "https://api.bird.com/workspaces/7d73f762-e08f-4e1f-a6fd-4d69d8cf119f/contacts/12bd0e40-9361-4e32-8b26-99b4ab7eae09" \
-H "Content-Type: application/json" \
-H "Authorization: AccessKey abcde" \
Last updated
Was this helpful?