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

  • workspaceId integer

    required

    The Workspace identifier

  • action string

    The bulk action. Possible values: DELETE, TAG

  • tag string

    The tag to apply to the listed Transactions. Used together with the TAG action

  • transactions array

    List of Transactions

Response200 OK

{
  "body": {},
  "statusCode": "100 CONTINUE",
  "statusCodeValue": 0
}