Perform Bulk Operation Over Transactions
To perform a bulk delete or tag operation over several Transactions in a Workspace, you need to know your Workspace identifier. The sample code uses a workspaceId of 123456. Use the actual ID value of your Workspace.
Minimum Parameters for bulk operations
The following parameters are the base parameters required to perform bulk operations.
Bulk OperationsMinimum Configuration Sample
curl 'https://mock.blazemeter.com/api/v1/workspaces/123456/transactions' \
-X PATCH \
-H 'accept: */*' \
-H 'Content-Type: application/json' \
-d '{ "action": "DELETE", "tags": [ "some_category" ], "transactions": [ 0 ]}'
Bulk Operations Request Attributes
Attributes
-
workspaceIdintegerrequired
The Workspace identifier
-
actionstringThe bulk action. Possible values: DELETE, TAG
-
tagstringThe tag to apply to the listed Transactions. Used together with the TAG action
-
transactionsarrayList of Transactions
Response200 OK
{
"body": {},
"statusCode": "100 CONTINUE",
"statusCodeValue": 0
}