Skip to main content

Set feature completed

POST 

<your-unleash-url>/api/admin/projects/:projectId/features/:featureName/lifecycle/complete

This will set the feature as completed.

Request

Path Parameters

    projectId stringrequired
    featureName stringrequired

Bodyrequired

featureLifecycleCompletedSchema

    statusstringrequired

    The status of the feature after it has been marked as completed

    Possible values: [kept, discarded]

    Example: kept
    statusValuestring

    The metadata value passed in together with status

    Example: variant1

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/features/:featureName/lifecycle/complete' \
-H 'Content-Type: application/json' \
-H 'Authorization: <Authorization>' \
-d '{
"status": "kept",
"statusValue": "variant1"
}'
Request Collapse all
Base URL
<your-unleash-url>
Auth
Parameters
— pathrequired
— pathrequired
Body required
{
  "status": "kept",
  "statusValue": "variant1"
}
ResponseClear

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