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
- 200
- 404
changeRequestSchema
The requested resource was not found.
Authorization: Authorization
name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
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
}
}'
ResponseClear