Skip to main content

Bulk disable a list of features

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

Authorization

name: Authorizationtype: apiKeyin: header

This endpoint disables multiple feature toggles.

Request

Path Parameters

  • projectId string required
  • environment string required

Body

required

bulkToggleFeaturesSchema

  • features string[] required

    The features that we want to bulk toggle

Responses

This response has no body.

Authorization

name: Authorizationtype: apiKeyin: header

Request

Base URL
<your-unleash-url>
apiKey
projectId — path required
environment — path required
Body required
{
"features": [
"feature-a",
"feature-b"
]
}
curl / cURL
curl -L -X POST '<your-unleash-url>/api/admin/projects/:projectId/bulk_features/environments/:environment/off' \
-H 'Content-Type: application/json' \
-H 'Authorization: <API_KEY_VALUE>' \
--data-raw '{
"features": [
"feature-a",
"feature-b"
]
}'