Skip to main content

This endpoint will add a comment to a change request

POST <your-unleash-url>/api/admin/projects/:projectId/change-requests/:id/comments

Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API

This endpoint will add a comment to a change request for the user making the request.

Request

Path Parameters

  • projectId string required
  • id string required

Body

required

changeRequestAddCommentSchema

  • text string required

    The content of the comment.

Responses

This response has no body.

Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API

Request

Base URL
<your-unleash-url>
Security Scheme
apiKey
projectId — path required
id — path required
Body required
{
"text": "This is a comment"
}
curl / cURL
curl -L -X POST '<your-unleash-url>/api/admin/projects/:projectId/change-requests/:id/comments' \
-H 'Content-Type: application/json' \
-H 'Authorization: <API_KEY_VALUE>' \
--data-raw '{
"text": "This is a comment"
}'