Skip to main content
POST
Delete Entities

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.

Body

application/json
entityIds
string[]
required

Up to 100 record IDs from one table. Duplicate IDs are deleted once. The records are deleted in one transaction: either all are deleted or none are. Before-save workflows must match every record or none; a held delete is applied record by record as its workflows approve each one.

Response

200 - application/json

Success

deletedEntityIds
string[]
pendingChanges
EntityPendingChange · object[]

Set instead of deleted_entity_ids when a before-save workflow holds the delete.