curl --request DELETE \
--url https://app.leonar.app/api/v1/contacts/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"archived_at": "2023-11-07T05:31:56Z"
}
}Archives a contact by setting archived_at. Archived contacts are excluded from list queries by default.
curl --request DELETE \
--url https://app.leonar.app/api/v1/contacts/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"archived_at": "2023-11-07T05:31:56Z"
}
}