Skip to content

API Reference / Filter sets

Delete several filter sets

Soft-deletes up to 100 filter sets in one call, all or nothing, under the same rules as DeleteFilterSet: every live contract and filter set outside the request that references one of them keeps a copy of its rules, nested deleted filter sets included. If any filter set is missing, nothing is deleted.

POST/contracts.v1.Contracts/BulkDeleteFilterSets

Request body

application/jsonRequired

Request to delete several filter sets at once, all or nothing. Each live contract and filter set outside the request referencing one of them has the reference replaced by a copy of its rules, as an edit by the caller.

filterSetIds?array<string>

Opaque 16-byte identifiers of the filter sets to delete, at least one and at most 100, without duplicates.

Response body

application/json

Success

No fields.

curl -X POST "https://api.goldmine.to/contracts.v1.Contracts/BulkDeleteFilterSets" \
  -H "Authorization: Bearer $CSTRADER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "filterSetIds": [
      "EBESExQVFhcYGRobHB0eHw==",
      "ICEiIyQlJicoKSorLC0uLw=="
    ]
  }'
{}