---
title: "Enable Dynamic Config"
method: PUT
path: "/console/v1/dynamic_configs/{id}/enable"
tags: ["Dynamic Configs"]
---

# Enable Dynamic Config

`PUT /console/v1/dynamic_configs/{id}/enable`

## Path parameters

- `id` string, required

## Response `200`

Enable Dynamic Config Response

- object
  - `message` string, required — A simple string explaining the result of the operation.
  - `data` object, required — A single result.
    - `id` string, required — ID
    - `name` string — Optional name for the configuration.
    - `idType` string — The type of ID which the dynamic config is based on.
    - `description` string, required — A brief summary of what the dynamic config is being used for
    - `lastModifierID` string, nullable, required — ID of the last modifier.
    - `lastModifiedTime` number, double, nullable, required — Time of the last modification.
    - `lastModifierEmail` string, nullable, required — Email of the last modifier.
    - `lastModifierName` string, nullable, required — Name of the last modifier.
    - `creatorID` string, nullable
    - `createdTime` number, double, required — Timestamp when the entity was created.
    - `creatorName` string, nullable, required — Name of the creator.
    - `creatorEmail` string, nullable
    - `tags` string[] — The list of tag names attached to the dynamic config
    - `targetApps` union
      - string
      - string[]
    - `holdoutIDs` string[] — Holdouts applied to this configuration.
    - `team` string, nullable — The team name associated with the dynamic config, Enterprise only.
    - `teamID` string, nullable — The team ID associated with the dynamic config, Enterprise only.
    - `version` number, double — Version number
    - `isEnabled` boolean, required — Is the dynamic config enabled
    - `rules` object[], required — An array of Rule objects
      - `name` string, required — The name of this rule.
      - `passPercentage` number, required — Of the users that meet the conditions of this rule, what percent should return true.
      - `conditions` object[], required — An array of Condition objects.
        - `targetValue` union
          - string[]
          - number[]
          - string
          - number
        - `operator` string
        - `field` string, nullable
        - `customID` string, nullable
        - `type` 'app_version' | 'browser_name' | 'browser_version' | 'country' | 'custom_field' | 'email' | 'environment_tier' | 'fails_gate' | 'fails_segment' | 'ip_address' | 'locale' | 'os_name' | 'os_version' | 'passes_gate' | 'passes_segment' | 'public' | 'time' | 'unit_id' | 'user_id' | 'user_agent' | 'url' | 'javascript' | 'device_model' | 'target_app' | 'experiment_group', required
      - `environments` string[], nullable
      - `id` string — The Statsig ID of this rule.
      - `baseID` string — The base ID of this rule, i.e. without any added metadata. Will remain the exact same throughout
      - `returnValue` object
      - `completedAutomatedRollouts` object[] — Read-only: Automated rollout phases that have already completed.
        - `time` number
        - `passPercent` number, required
      - `pendingAutomatedRollouts` object[] — Read-only: Automated rollout phases that are scheduled but not yet complete.
        - `time` number
        - `passPercent` number, required
      - `returnValueJson5` string
      - `variants` object[]
        - `id` string
        - `name` string, required
        - `passPercentage` number, required
        - `returnValue` object
        - `returnValueJson5` string
    - `defaultValue` object — The fallback JSON object when no rules are triggered
    - `defaultValueJson5` string — Can include comments. If provided with defaultValue, must parse to the same JSON
    - `owner` object, nullable — Schema for owner data including ID, type, name.
      - `ownerID` string — ID of the owner
      - `ownerType` string — Type of the owner (e.g., SDK_KEY or USER)
      - `ownerName` string — The name of the owner. This field is optional.
      - `ownerEmail` string — The email of the owner. This field is optional.
    - `schema` string, nullable — A schema using JSON Schema Draft 2020-12 to enforce return values of this dynamic config's rules.
    - `schemaJson5` string, nullable — `schema` except with Json5 comments. Optional and should parse to same json as `schema`.
    - `releasePipelineID` string, nullable — The release pipeline ID associated with the dynamic config
    - `isTemplate` boolean
    - `status` 'Enabled' | 'Disabled' | 'Archived'
    - `checksPerHour` number, double, nullable
    - `permalink` string, uri, required — A permalink to this dynamic config in the Statsig Console.
    - `type` 'PERMANENT' | 'TEMPORARY' | 'STALE' | 'TEMPLATE', required — The lifecycle type of the config (TEMPORARY, PERMANENT, or STALE). STALE classification depends on the nightly stale detection batch job having run; a config not yet processed reads as TEMPORARY.
    - `typeReason` 'NONE' | 'STALE_PROBABLY_DEAD_CHECK' | 'STALE_NO_RULES' | 'STALE_PROBABLY_FORGOTTEN' | 'STALE_PROBABLY_LAUNCHED' | 'STALE_PROBABLY_UNLAUNCHED', required — The reason for the current type classification. Depends on the nightly stale detection batch job having run.
    - `isPermanent` boolean, required — Whether the config has been explicitly marked as long-lived.

---

[API](https://skmtc.net/statsig/apis/console-api.md) · [All operations](https://skmtc.net/statsig/apis/console-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/statsig/console-api/versions/3189f450c93b/schema)
