Skip to main content
DELETE
cURL

Authorizations

Authorization
string
header
required

Pass your API key as the Bearer token. See Authentication.

Path Parameters

id
string
required

The Contextual Bandit id

featureId
string
required

The linked feature id

Query Parameters

autoPublish
boolean

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

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

Resource deleted

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