Skip to content

Update an asset comment

Request

Patch a Comment

Security
bearerToken
Path
idstringrequired

The unique ID of the Comment

Bodyapplication/jsonrequired
textstring, <= 4000 characters

The text content of the Comment

Example:"This is an edited comment that has been left by a user, how insightful!"
curl -i -X PATCH \
  'https://api-v2.dash.app/comments/{id}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "text": "This is an edited comment that has been left by a user, how insightful!"
  }'

Responses

Success

Bodyapplication/json
resultobjectrequired
permittedActionsArray of objectsrequired
Response
{ "result": { "id": "8bc23748-39e0-4dce-a48e-f71845eeeec3", "accountId": "cfb665ca-ce35-4418-b9d5-70ee815db4bd", "userId": "google-oauth2|110955770826801837334", "assetId": "7af90a8b-7ccd-430f-a85d-e8614015bc47", "contextType": "APPROVAL", "contextId": "collection/a52b5315-15b8-417f-b742-d6902108bac1", "text": "This is a comment that has been left by a user, how insightful!", "dateCreated": "2021-02-17T09:24:01.417Z" }, "permittedActions": [ {} ] }