Skip to main content
DELETE
/
v1
/
transactions
/
batch
curl --request DELETE \
  --url https://api.triqai.com/v1/transactions/batch \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "all": true
}'
{
  "success": true,
  "data": {
    "deleted": true,
    "count": 1
  },
  "meta": {
    "generatedAt": "2023-11-07T05:31:56Z",
    "requestId": "<string>",
    "version": "<string>"
  }
}

Authorizations

X-API-Key
string
header
required

Public API key

Body

application/json

Provide exactly one of all, afterDate, or ids.

all
enum<boolean>
required

When true, deletes all transactions for the organization.

Available options:
true

Response

Batch deletion completed

success
enum<boolean>
required
Available options:
true
data
object
required
meta
object
required