DELETE
/
console
/
v1
/
dynamic_configs
/
{id}
/
rule
/
name
/
{ruleName}
curl --request DELETE \
  --url https://statsigapi.net/console/v1/dynamic_configs/{id}/rule/name/{ruleName} \
  --header 'STATSIG-API-KEY: <api-key>'
{
  "message": "Dynamic Config rule deleted successfully.",
  "data": {
    "id": "dc2",
    "name": "dc2",
    "description": "",
    "idType": "userID",
    "lastModifierID": "65pqqzT46Kl7lHnd2JCmgH",
    "lastModifiedTime": 1721251399582,
    "lastModifierName": "CONSOLE API",
    "lastModifierEmail": null,
    "creatorID": "3exemrfZ5pwOk6qyDH0dhP",
    "createdTime": 1721247911588,
    "creatorName": "Jathu Theivikaran",
    "creatorEmail": "jathurshan@statsig.com",
    "targetApps": [],
    "holdoutIDs": [],
    "tags": [],
    "team": null,
    "isEnabled": true,
    "rules": [
      {
        "id": "2IIQAN6wbUyHJiLbrcBuvx:80.00:1",
        "baseID": "2IIQAN6wbUyHJiLbrcBuvx",
        "name": "Other",
        "passPercentage": 80,
        "conditions": [],
        "returnValue": true,
        "returnValueJson5": "true",
        "environments": null
      }
    ],
    "defaultValue": {},
    "defaultValueJson5": "{}"
  }
}

Authorizations

STATSIG-API-KEY
string
header
required

Headers

x-respect-review-settings
string

Optional header to respect review settings for mutation endpoints.

Path Parameters

id
string
required

Dynamic Config ID

ruleName
string
required

Rule Name

Response

200 - application/json
Delete Dynamic Config Rule Response
message
string
required

A simple string explaining the result of the operation.

data
object
required

A single result.