Skip to main content
DELETE
/
:projectId
/
entities
/
:entityId
Delete Entity
curl --request DELETE \
  --url https://api.replyke.com/api/v6/:projectId/entities/:entityId
{
  "status": "<string>"
}
Deletes an existing entity within the project. Only the entity author or a master user can perform this operation. Deletion also deducts reputation from the original author.

Path Parameters

entityId
string
required
The ID of the entity to delete

Response

status
string
Returns 204 No Content on successful deletion

Error Responses

{
  "error": "Invalid entityId.",
  "code": "entity/invalid-id"
}
{
  "error": "Not authorized to delete this entity.",
  "code": "entity/not-authorized"
}
{
  "error": "Entity not found.",
  "code": "entity/not-found"
}
{
  "error": "Entity not found or already deleted.",
  "code": "entity/delete-failed"
}
{
  "error": "Failed to delete the entity.",
  "code": "entity/server-error",
  "details": "[error message]"
}

Notes

  • Only the original author or a master user can delete an entity.
  • Deleting an entity deducts reputation points from the author if applicable.
  • If the entity does not exist or was already deleted, the operation is a no-op.
I