Skip to main content
DELETE
/
destinations
/
bulk
/
delete
Bulk Delete Destinations
curl --request DELETE \
  --url https://api.streamkap.com/destinations/bulk/delete \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "ids": [
    "<string>"
  ],
  "select_all": false,
  "filters": {
    "source_id": "<string>",
    "destination_id": "<string>"
  }
}
'
{
  "results": [
    {
      "id": "<string>",
      "success": true,
      "message": "<string>",
      "data": {}
    }
  ],
  "summary": {
    "total": 123,
    "succeeded": 123,
    "failed": 123
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Request model for bulk delete operations.

ids
string[] | null

List of entity IDs to delete. Omit if using select_all=true.

select_all
boolean
default:false

If true, select all entities matching the filters

filters
BulkSelectionFilter · object

Optional filters when select_all=true

Response

Successful Response

Response model for bulk operations.

results
BulkOperationResult · object[]
required

Detailed results for each entity

summary
BulkOperationSummary · object
required

Summary statistics