Remove Contact from List
Remove a contact from a list.
Request
DELETE /lists/{listUuid}/contacts/{contactUuid}
Path Parameters
| Parameter | Type | Description |
|---|---|---|
listUuid | string | List's UUID |
contactUuid | string | Contact's UUID |
Example Request
curl -X DELETE "https://email.easy.tools/api/v1/lists/list-uuid-123/contacts/contact-uuid-456" \
-H "Authorization: Bearer YOUR_API_TOKEN"
Response
Success Response (204 No Content)
No response body.
Error Responses
Not Found Error (404) - List
{
"error": {
"code": "RESOURCE_NOT_FOUND",
"message": "List with uuid 'list-uuid-123' not found"
}
}
Not Found Error (404) - Contact not in list
Returned when the contact exists but is not a member of the specified list.
{
"error": {
"code": "RESOURCE_NOT_FOUND",
"message": "Contact 'contact-uuid-123' is not in list 'list-uuid-123'"
}
}