Skip to main content
PATCH
/
:projectId
/
lists
/
:listId
/
remove-entity
Remove Entity from List
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>"
}
Removes an entity from the specified list for the authenticated user.

Path Parameters

listId
string
required
ID of the target list

Body Parameters

entityId
string
required
ID of the entity to remove from the list

Response

id
string
Unique list identifier
projectId
string
Project identifier
userId
string
ID of the user who owns the list
name
string
Name of the list
entityIds
array
Updated array of entity IDs (with the removed entity excluded)
createdAt
string
Creation timestamp in ISO 8601 format
updatedAt
string
Last update timestamp in ISO 8601 format

Error Responses

{
  "error": "Missing listId or entityId",
  "code": "list/missing-data"
}
{
  "error": "List not found",
  "code": "list/not-found"
}
{
  "error": "Entity does not exist in the list",
  "code": "list/entity-not-found"
}
{
  "error": "Internal server error.",
  "code": "list/server-error",
  "details": "<Error message>"
}

Notes

  • This operation has no effect if the entity is not already in the list.
  • The response includes the updated list with the entity removed.
I