Skip to main content
POST
/
contacts
/
delete
curl --request POST \
--url https://api-dev.iclosed.io/contacts/delete \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"id": "123"
}'
{
"message": "Contact deleted successfully",
"status": 200,
"data": {}
}

Authorizations

Authorization
string
header
required

API key required in 'Authorization' header. Format: iclosed-<token>

Body

application/json
id
string
required

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.

Example:

"123,456,789"

Response

Successfully deleted contact(s)

message
string

Success message

Example:

"Contact deleted successfully"

status
integer

HTTP status code

Example:

200

data
object

Empty data object

Example:
{}
I