curl --request DELETE \
--url https://api.zapier.com/tables/v2/tables/{table_id}/records \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"record_ids": [
"01563e3a-b5d3-d676-4c61-efb99302bd5b",
"01563e3a-b5d3-d676-4c61-efb99302bd5c"
]
}
'{
"results": [
{
"id": "01563e3a-b5d3-d676-4c61-efb99302bd5b",
"data": {},
"created_at": "2023-11-07T05:31:56Z",
"edited_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z",
"is_source_record": true,
"errors": {}
}
],
"meta": {}
}{
"detail": "<string>",
"code": "<string>",
"meta": {},
"errors": [
{
"title": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"meta": {}
}
],
"message": "",
"support_id": ""
}{
"detail": "<string>",
"code": "<string>",
"meta": {},
"errors": [
{
"title": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"meta": {}
}
],
"message": "",
"support_id": ""
}{
"detail": "<string>",
"code": "<string>",
"meta": {},
"errors": [
{
"title": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"meta": {}
}
],
"message": "",
"support_id": ""
}{
"detail": "<string>",
"code": "<string>",
"meta": {},
"errors": [
{
"title": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"meta": {}
}
],
"message": "",
"support_id": ""
}{
"detail": "<string>",
"code": "<string>",
"meta": {},
"errors": [
{
"title": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"meta": {}
}
],
"message": "",
"support_id": ""
}Delete records from a table or view
Removes records from the table or view matching the table_id.
results reports the records the request removed. change_options.on_conflict
decides what happens when a named record is the source of a linked record: the
default removes it and takes it out of the records that link to it, and
block refuses the whole request instead. The request is refused if any named
record does not exist, if the account cannot delete the table’s records, or if
change_options names a member or a value this operation does not publish.
Send an Idempotency-Key with every write. A retry that arrives after the
first request has finished and reuses the key and the payload answers with
the original response instead of applying the delete a second time. Two
requests racing with one key can both execute, and a response too large to
store is not replayed.
curl --request DELETE \
--url https://api.zapier.com/tables/v2/tables/{table_id}/records \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"record_ids": [
"01563e3a-b5d3-d676-4c61-efb99302bd5b",
"01563e3a-b5d3-d676-4c61-efb99302bd5c"
]
}
'{
"results": [
{
"id": "01563e3a-b5d3-d676-4c61-efb99302bd5b",
"data": {},
"created_at": "2023-11-07T05:31:56Z",
"edited_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z",
"is_source_record": true,
"errors": {}
}
],
"meta": {}
}{
"detail": "<string>",
"code": "<string>",
"meta": {},
"errors": [
{
"title": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"meta": {}
}
],
"message": "",
"support_id": ""
}{
"detail": "<string>",
"code": "<string>",
"meta": {},
"errors": [
{
"title": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"meta": {}
}
],
"message": "",
"support_id": ""
}{
"detail": "<string>",
"code": "<string>",
"meta": {},
"errors": [
{
"title": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"meta": {}
}
],
"message": "",
"support_id": ""
}{
"detail": "<string>",
"code": "<string>",
"meta": {},
"errors": [
{
"title": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"meta": {}
}
],
"message": "",
"support_id": ""
}{
"detail": "<string>",
"code": "<string>",
"meta": {},
"errors": [
{
"title": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"meta": {}
}
],
"message": "",
"support_id": ""
}Scopes
Headers
Path Parameters
Body
The records to remove, and how their changes are delivered.
Identifiers of the records to remove, in the form V2Record.id publishes, and at most 1000 of them in one request. The request is refused if any of them does not exist
1 - 1000 elements^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$Was this page helpful?