Skip to main content

Bulk enable a list of features

POST 

https://us.app.unleash-hosted.com/ushosted/api/admin/projects/:projectId/bulk_features/environments/:environment/on

This endpoint enables multiple feature flags.

Request

Responses

This response has no body.

Authorization: Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API
curl -L 'https://us.app.unleash-hosted.com/ushosted/api/admin/projects/:projectId/bulk_features/environments/:environment/on' \
-H 'Content-Type: application/json' \
-H 'Authorization: <API_KEY_VALUE>' \
-d '{
"features": [
"feature-a",
"feature-b"
]
}'
Request Collapse all
Base URL
https://us.app.unleash-hosted.com/ushosted
Auth
Parameters
— pathrequired
— pathrequired
Body required
{
  "features": [
    "feature-a",
    "feature-b"
  ]
}
ResponseClear

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