Feature Flags

Create Feature Flag

Changed on

Create feature flag.

<div> <code>create:feature_flags</code> </div>
post/api/v1/feature_flags

Request

  • Base URL: https://your_kinde_subdomain.kinde.com
  • URL: https://your_kinde_subdomain.kinde.com/api/v1/feature_flags
  • Auth: HTTP bearer

Request body

namestring required

The name of the flag.

descriptionstring

Description of the flag purpose.

keystring required

The flag identifier to use in code.

type'str' | 'int' | 'bool' required

The variable type.

allow_override_level'env' | 'org' | 'usr'

Allow the flag to be overridden at a different level.

default_valuestring required

Default value for the flag used by environments and organizations.

Response

Feature flag successfully created

messagestring
codestring

Example response

{
  "message": "Success",
  "code": "OK"
}

Changes

    • breaking

      added the new required header request parameter Accept to all path's operations

    • info

      the endpoint scheme security kindeBearerAuth was added to the API

    • info

      the endpoint scheme security ManagementAPI was removed from the API

    • info

      the endpoint scheme security ManagementAPI was added to the API

    • info

      the endpoint scheme security kindeBearerAuth was removed from the API