Skip to main content
POST
/
v1
/
activity
/
bulk
/
delete
Delete activities in bulk
curl --request POST \
  --url https://app.variable.global/api/v1/activity/bulk/delete \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "ids": "<array>"
}
'
{
  "jobId": "job_123456",
  "status": "processing",
  "totalOperations": 100,
  "jobUrl": "https://app.variable.global/api/v1/job/job_123456",
  "message": "Bulk operation job created. Use GET /v1/job/<job_id> to check status."
}
Requires permission:
Read more about the Activity data models.
Bulk operations take a maximum of 1,000 items per request.

Authorizations

Authorization
string
header
required

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

Body

application/json
ids
array
required

List of activity uuids or syncIds to delete

Response

Job status

jobId
string
Example:

"job_123456"

status
string
Example:

"processing"

totalOperations
integer
Example:

100

jobUrl
string
Example:

"https://app.variable.global/api/v1/job/job_123456"

message
string
Example:

"Bulk operation job created. Use GET /v1/job/<job_id> to check status."