Skip to main content

Archives a list of features

POST 

https://us.app.unleash-hosted.com/ushosted/api/admin/projects/:projectId/archive

This endpoint archives the specified features. Any features that are already archived or that don't exist are ignored. All existing features (whether already archived or not) that are provided must belong to the specified project.

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/archive' \
-H 'Content-Type: application/json' \
-H 'Authorization: <API_KEY_VALUE>' \
-d '{
"features": [
"my-feature-4",
"my-feature-5",
"my-feature-6"
]
}'
Request Collapse all
Base URL
https://us.app.unleash-hosted.com/ushosted
Auth
Parameters
— pathrequired
Body required
{
  "features": [
    "my-feature-4",
    "my-feature-5",
    "my-feature-6"
  ]
}
ResponseClear

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