Delete entities with an HQL DELETE statement

POST /Platform/query/hql/delete

Delete entities with an HQL DELETE statement.

Only DELETE <Type> [@ branch] | <filter> [| hard] is accepted, and the filter is required. Reads go through the query service's hql operation. Writes to a protected main are refused like every other entity write: work on a branch and open a changeset.

Body parameters

Returns

QueryDeletion

Example request

curl -X POST "https://api.hilus.ai/Platform/query/hql/delete" \
  -H "Authorization: Bearer $HILUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'