TicketComment

Update Comment

PATCH
Update comment

Path parameters

idstringRequired

Headers

x-revert-api-tokenstringRequired
Your official API key for accessing revert apis.
x-revert-t-idstringRequired
The unique customer id used when the customer linked their account.
x-api-versionstringOptional
Optional Revert API version you're using. If missing we default to the latest version of the API.

Query parameters

fieldsstringOptional

Request

This endpoint expects an object.
body
stringRequired
The contents of the comment in plain text or HTML format.
taskId
stringRequired
Task or Issue to which comment must belong

Response

This endpoint returns an object
status
enum
Allowed values: okerror
message
string
result
any
PATCH
$curl -X PATCH "https://api.revert.dev/ticket/comments/%3Aid?fields=string" \
> -H "x-revert-api-token: string" \
> -H "x-revert-t-id: string" \
> -H "x-api-version: string" \
> -H "Content-Type: application/json" \
> -d '{
> "body": "string",
> "taskId": "string"
>}'
Response
1{
2 "status": "ok",
3 "message": "string",
4 "result": {}
5}