Get feature flag

Retrieves the feature flag.

Access requirements

The Authorization Bearer (Admin API Key authorizing the request) must have one of the following roles and scopes:

Admin API Key roles accepted

  • API_ALL_GRANTED
  • API_FEATURE_FLAG_VIEWER
  • API_FEATURE_FLAG_EDITOR

Admin API Key scopes accepted

  • GLOBAL
  • WORKSPACE

To learn more about Admin API Key roles and scopes, see API keys overview.


JSON Received

{
    "name": String,
    "description": String, 
    "trafficType": URN, // Containing id and name of the traffic type
    "creationTime": Number, // Milliseconds since epoch
    "id": "0000cea0-8f4d-11e7-b345-491559441642", //ID of the feature flag
    "tags": [ Tag ], // Tag contains "name": String
    "rolloutStatus": RolloutStatus,
    "rolloutStatusTimestamp": Number // Milliseconds since epoch
}
Language