Skip to main content
DELETE
/
:projectId
/
api
/
v7
/
collections
/
:collectionId
/
entities
/
:entityId
Remove Entity from Collection
curl --request DELETE \
  --url https://api.replyke.com/api/v6/:projectId/api/v7/collections/:collectionId/entities/:entityId
{
  "success": true,
  "collection": {
    "id": "<string>",
    "entityCount": 123
  }
}
Removes an entity from the specified collection. This operation is idempotent — if the entity is not in the collection, it still returns success.

Path Parameters

collectionId
string
required
The ID of the collection.
entityId
string
required
The ID of the entity to remove.

Response

success
boolean
Always true on success.
collection
object
Updated collection metadata.

Error Responses

{ "error": "Collection not found", "code": "collection/not-found" }
{ "error": "Internal server error.", "code": "collection/server-error" }