Skip to main content

Bulk disable a list of features

POST 

<your-unleash-url>/api/admin/projects/:projectId/bulk_features/environments/:environment/off

This endpoint disables multiple feature flags.

Request

Path Parameters

    projectId stringrequired
    environment stringrequired

Bodyrequired

bulkToggleFeaturesSchema

    featuresstring[]required

    The features that we want to bulk toggle

    Example: ["feature-a","feature-b"]

Responses

This response has no body.

Authorization: Authorization

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

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