Skip to main content
DELETE
cURL

Authorizations

Authorization
string
header
required

If using Bearer auth, pass the Secret Key as the token:

Path Parameters

id
string
required

The Contextual Bandit id

featureId
string
required

The linked feature id

Query Parameters

autoPublish

Publish the resulting revision immediately instead of leaving it as a draft.

Allowed value: "true"
draftVersion
integer

Remove the rule from this existing draft revision instead of live. Required when the rule hasn't been published yet — omitting it targets the live revision, which has nothing to remove.

Response

200 - application/json

Resource deleted

featureId
string
required
removedRuleIds
string[]
required
revisionVersion
number | null
required
published
boolean
required