cURL
curl --request DELETE \ --url https://api.replyke.com/api/v6/:projectId/entities/:entityId
{ "status": "<string>" }
Delete an existing entity
Invalid ID - 400 Bad Request
{ "error": "Invalid entityId.", "code": "entity/invalid-id" }
Unauthorized - 403 Forbidden
{ "error": "Not authorized to delete this entity.", "code": "entity/not-authorized" }
Not Found - 404 Not Found
{ "error": "Entity not found.", "code": "entity/not-found" }
Delete Failed - 404 Not Found
{ "error": "Entity not found or already deleted.", "code": "entity/delete-failed" }
Server Error - 500 Internal Server Error
{ "error": "Failed to delete the entity.", "code": "entity/server-error", "details": "[error message]" }