cURL
single_contact
curl --request POST \ --url https://api-dev.iclosed.io/contacts/delete \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "id": "123" }'
200
single_contact_deleted
{ "message": "Contact deleted successfully", "status": 200, "data": {}}
Delete a contact
API key required in 'Authorization' header. Format: iclosed-
Contact ID(s) to delete. Can be a single ID or comma-separated list of IDs (e.g., '1,2,3'). Must be valid numbers only.
"123,456,789"
Successfully deleted contact(s)
Success message
"Contact deleted successfully"
HTTP status code
Empty data object
{}