Skip to Content
ZITADEL Docs
APIsCore ResourcesV1Instance Lifecycle

SetInstanceFeature

Set a feature flag on an instance

PUT
/system/v1/instances/{instance_id}/features/{feature_id}

Path Parameters

instance_id*instance_id
feature_id*feature_id
Value in"INSTANCE_FEATURE_UNSPECIFIED""INSTANCE_FEATURE_LOGIN_DEFAULT_ORG"

Request Body

application/json
  1. body
bool*bool

Response Body

Success

application/json
  1. response
details?
Example Request
curl -X PUT 'https://example.com/system/v1/instances/string/features/INSTANCE_FEATURE_UNSPECIFIED' \  -H 'Content-Type: application/json' \  -d '{  "bool": true}'
Example Response200
{  "details": {    "sequence": 0,    "creationDate": "2023-01-15T01:30:15.01Z",    "changeDate": "2023-01-15T01:30:15.01Z",    "resourceOwner": "string"  }}

Was this page helpful?