cURL
curl --request PATCH \ --url https://api.replyke.com/api/v6/:projectId/lists/:listId/remove-entity \ --header 'Content-Type: application/json' \ --data ' { "entityId": "<string>" } '
{ "id": "<string>", "projectId": "<string>", "userId": "<string>", "name": "<string>", "entityIds": [ {} ], "createdAt": "<string>", "updatedAt": "<string>" }
Remove an entity from a list
Missing Parameters - 400 Bad Request
{ "error": "Missing listId or entityId", "code": "list/missing-data" }
List Not Found - 404 Not Found
{ "error": "List not found", "code": "list/not-found" }
Entity Not Found in List - 409 Conflict
{ "error": "Entity does not exist in the list", "code": "list/entity-not-found" }
Server Error - 500 Internal Server Error
{ "error": "Internal server error.", "code": "list/server-error", "details": "<Error message>" }