Skip to main content
GET
Get 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

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

job_id
string
required

Query Parameters

teamId
string
required

Response

200 - application/json

Success

status
enum<string>
Available options:
ENTITY_DELETION_JOB_STATUS_UNSPECIFIED,
ENTITY_DELETION_JOB_STATUS_RUNNING,
ENTITY_DELETION_JOB_STATUS_COMPLETED,
ENTITY_DELETION_JOB_STATUS_FAILED,
ENTITY_DELETION_JOB_STATUS_CANCELLED
expectedCount
deletedCount
error
string | null

Set when status is FAILED.