Skip to main content

Export feature flags from an environment

POST 

https://us.app.unleash-hosted.com/ushosted/api/admin/features-batch/export

Exports all features listed in the features property from the environment specified in the request body. If set to true, the downloadFile property will let you download a file with the exported data. Otherwise, the export data is returned directly as JSON. Refer to the documentation for more information about Unleash's export functionality.

Request

Responses

exportResultSchema

Authorization: Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API
curl -L 'https://us.app.unleash-hosted.com/ushosted/api/admin/features-batch/export' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>' \
-d '{
"environment": "development",
"downloadFile": true,
"features": [
"MyAwesomeFeature"
]
}'
Request Collapse all
Base URL
https://us.app.unleash-hosted.com/ushosted
Auth
Body required
{
  "environment": "development",
  "downloadFile": true,
  "features": [
    "MyAwesomeFeature"
  ]
}
ResponseClear

Click the Send API Request button above and see the response here!