provider comments PUT /api/projects/{project_id}/comments/{id}/
@utdk/posthog /api/projects/{project_id}/comments/{id}/
comments_update
id path required
A UUID string identifying this comment.
string
project_id path required
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
string

Try it

Authentication
Configure credentials for PostHog API
commentsUpdate
PUT/api/projects/{project_id}/comments/{id}/

Parameters

required

A UUID string identifying this comment.

required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Input

required
required

Whether this comment is an actionable task that can be marked complete. Tasks render with a checkbox in the UI and can be filtered as a separate kind. Cannot be set on replies (source_comment) or emoji reactions. Immutable after creation.

required

The user who marked this task complete. Null for open tasks and non-task comments.

required
required
required
required

ISO timestamp when the task was marked complete. Only meaningful when is_task is true. Read-only — toggled via the /complete and /reopen actions, not via PATCH.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import posthog from '@utdk/posthog';

await posthog.commentsUpdate({
  "is_task": false
})