Entity API
Cancel Entity Deletion Job
Stop a background delete started by Delete Entities By Filter. The batch already running finishes, no further batches start, and Get Entity Deletion Job then reports CANCELLED with the number of records deleted. Records already deleted stay deleted. A job that already finished is refused with FAILED_PRECONDITION.
POST
Cancel Entity Deletion Job
Authentication and permissions
Token requirements: User-based token (OAuth) or Organization-scoped API key or Workspace-scoped API key. Send a bearer access token for one of these identities. The permissions and resource restrictions below also apply.
Permissions joined by + are all required; or separates alternatives. Full-access keys still cannot call endpoints marked unsupported. Workspace keys must allow every workspace checked by the request. OAuth access depends on the user’s roles and resource access.
- Delete a record in a workspace’s database: Owner-only: the permission is checked on the record’s owning workspace. A caller admitted to the database only through a share cannot delete its records. Delete access to the record is also required; Read or Update alone does not allow deletion.
Authorizations
Response
200 - application/json
Success
The response is of type CancelEntityDeletionJobResponse · object.

