Skip to main content
DELETE
/
:projectId
/
api
/
v7
/
entities
/
:entityId
Delete Entity
curl --request DELETE \
  --url https://api.replyke.com/api/v6/:projectId/api/v7/entities/:entityId
Deletes an entity and its associated data. Only the entity’s author, or a request with a service or master key, can delete an entity. Authentication required. Deletion behavior depends on your project’s entityDeletion settings:
  • Hard delete (default): The entity and all its files are permanently removed.
  • Soft delete: The entity is marked as deleted but retained in the database. File preservation is configurable separately.

Path Parameters

entityId
string
required
The UUID of the entity to delete.

Response

Returns 204 No Content on success.

Error Responses

{ "error": "Entity not found.", "code": "entity/not-found" }
{ "error": "Entity not found or already deleted.", "code": "entity/delete-failed" }
Returned when the entity record exists but could not be deleted (e.g., it was already soft-deleted).
{ "error": "Not authorized to delete this entity.", "code": "entity/not-authorized" }