features
put/flags/{flag_id}

Request

  • Base URL
    https://api.schematichq.com
  • URL
    https://api.schematichq.com/flags/{flag_id}
  • Auth
    API key in header X-Schematic-Api-Key

Path parameters

flag_idstring required

flag_id

Request body

default_valueboolean nullable

Deprecated. On create, the value a check returns in every environment until that environment has a default rule. Ignored on update: flags are account-wide and rules are per environment, so set an environment's default through its default rule via the flag rules endpoint

descriptionstring required
feature_idstring nullable
flag_type'boolean' required
keystring required
maintainer_account_member_idstring nullable
namestring required

Response

OK

paramsobject required

Input parameters

Changes

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became optional for the status

    • info

      the request property became nullable

    • info

      the request property became optional

    • info

      request property deprecated

    • info

      response property data/default_value deprecated

    • info

      added the required property // to the response with the status