PATCH /api/v1/resources/{resource_id}/comments/{comment_id}
Use this endpoint to update {comment_id}.
Endpoint
Method: PATCH
Path: /api/v1/resources/{resource_id}/comments/{comment_id}
Required scope: comment:write
Base URL: https://dokki.one
Route source: app/api/v1/resources/[resourceId]/comments/[commentId]/route.ts
Parameters
resource_id: path identifier
comment_id: path identifier
Send a JSON request body with only supported fields.
Request example
curl -X PATCH "https://dokki.one/api/v1/resources/{resource_id}/comments/{comment_id}"
-H "Authorization: Bearer $DOKKI_API_KEY"
-H "Content-Type: application/json"
-d '{"TODO":"replace with endpoint-specific fields"}'Response
Successful responses are JSON. Preserve request_id values.
{
"data": {},
"request_id": "req_..."
}Errors
400 invalid request
401 missing or invalid authentication
403 insufficient scope or tenant access
404 resource not found
409 conflicting state
429 rate limit exceeded