Skip to main content

Move feature to project

POST 

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

Moves the specified feature to the new project in the request schema. Requires you to have permissions to move the feature flag in both projects. Features that are included in any active change requests can not be moved.

Request

Path Parameters

    projectId stringrequired
    featureName stringrequired

Bodyrequired

changeProjectSchema

    newProjectIdstringrequired

    The project to move the feature flag to.

    Example: newProject

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/changeProject' \
-H 'Content-Type: application/json' \
-H 'Authorization: <Authorization>' \
-d '{
"newProjectId": "newProject"
}'
Request Collapse all
Base URL
<your-unleash-url>
Auth
Parameters
— pathrequired
— pathrequired
Body required
{
  "newProjectId": "newProject"
}
ResponseClear

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