Codevisor Docs
Api reference

Turn an experimental feature on or off

PUT/v1/feature-flags/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

enabled*boolean

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PUT "https://example.com/v1/feature-flags/string" \  -H "Content-Type: application/json" \  -d '{    "enabled": true  }'
{  "id": "string",  "title": "string",  "description": "string",  "enabled": true}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}