Sign in

Update incident comment

documented

Update a specific incident comment (if supported by the API).

PUT /incidents/{id}/comments/{comment_id}.jsonIncidentsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.samanage.com/incidents/{{$id}}/comments/{{$comment_id}}.json" \
  -X PUT \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "X-Samanage-Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"comment": {"body": "{{$comment_body}}", "user": {"email": "{{$user_email}}"}, "is_private": {{$is_private}}}}' \
  # Sources: Official Samanage API docs show the incidents/comments endpoint pattern like 
  #   https://api.samanage.com/incidents/{id}/comments (turn1view0) and demonstrate a Bearer token header such as 
  #   X-Samanage-Authorization: Bearer <token> (turn1view0) and a sample body for adding a comment including a user email (turn3reddit13).