Skip to main content

Clone a feature flag

POST 

https://us.app.unleash-hosted.com/ushosted/api/admin/projects/:projectId/features/:featureName/clone

Creates a copy of the specified feature flag. The copy can be created in any project.

Request

Responses

featureSchema

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/features/:featureName/clone' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>' \
-d '{
"name": "new-feature",
"replaceGroupId": true
}'
Request Collapse all
Base URL
https://us.app.unleash-hosted.com/ushosted
Auth
Parameters
— pathrequired
— pathrequired
Body required
{
  "name": "new-feature",
  "replaceGroupId": true
}
ResponseClear

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