Skip to main content

Edits a single change in a change request

PUT 

<your-unleash-url>/api/admin/projects/:projectId/change-requests/:changeRequestId/changes/:changeId

This endpoint will edit one change from a change request if it matches the provided id. The edit removes previous change and inserts a new one. You should not rely on the changeId for subsequent edits and always check the most recent changeId.

Request

Responses

changeRequestSchema

Authorization: Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API
curl -L -X PUT '<your-unleash-url>/api/admin/projects/:projectId/change-requests/:changeRequestId/changes/:changeId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>' \
-d '{
"action": "updateSegment",
"payload": {
"id": 1
}
}'
Request Collapse all
Base URL
<your-unleash-url>
Auth
Parameters
— pathrequired
— pathrequired
— pathrequired
Body required
{
  "action": "updateSegment",
  "payload": {
    "id": 1
  }
}
ResponseClear

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