Skip to main content
POST
/
limits
/
rules
/
bulk-delete
Delete a batch of rules by pattern.
curl --request POST \
  --url https://api.example.com/limits/rules/bulk-delete \
  --header 'Content-Type: application/json' \
  --data '
[
  {
    "pattern": "<string>",
    "expected_version": 1
  }
]
'
[
  "<string>"
]

Body

application/json
pattern
string
required
expected_version
integer<int32> | null

Optimistic-concurrency match. Absent → unconditional delete (idempotent: deleting an already-absent rule succeeds as a no-op). Present → reject unless the rule's current version is the supplied value.

Required range: x >= 0

Response

Patterns that were actually removed