---
title: "Update case comment"
method: PUT
path: "/api/v2/cases/{case_id}/comment/{cell_id}"
tags: ["Case Management"]
---

# Update case comment

`PUT /api/v2/cases/{case_id}/comment/{cell_id}`

## Request

- Base URL: `https://api.datadoghq.com`
- URL: `https://api.datadoghq.com/api/v2/cases/{case_id}/comment/{cell_id}`
- Auth: one of:
  - API key in header `DD-API-KEY` and API key in header `DD-APPLICATION-KEY`
  - OAuth 2
    - Authorization code: `/oauth2/v1/authorize`
    - Token URL: `/oauth2/v1/token` scopes: `cases_write`

Updates the text content of an existing comment on a case timeline. The comment is identified by its cell ID.

## Path parameters

- `case_id` string, required
- `cell_id` string, required

## Request body

- CaseUpdateCommentRequest: Request payload for updating a comment on a case timeline.
  - `data` CaseUpdateComment, required: Data object for updating a case comment.
    - `attributes` CaseUpdateCommentAttributes, required: Attributes for updating a comment.
      - `comment` string, required: The updated comment message.
    - `type` 'case', required: JSON:API resource type for cases.

## Response `200`

OK

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `429`: Too many requests

---

[API](https://skmtc.dev/datadog/apis/datadog-api-v2-collection.md) - [All operations](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/llms.txt) - [OpenAPI document](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/revisions/da68bf029e4c?raw)
