API reference
V1Comments

Update Comment

If the specified comment exists, allows you to change content of the comment

PUT
/api/v1/comments/{id}

If the specified comment exists, allows you to change content of the comment

Authorization

access_token
Authorization<token>

In: header

Path Parameters

id*string

comment ID

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X PUT "https://example.com/api/v1/comments/string" \  -H "Content-Type: application/json" \  -d '{    "content": "New Comment",    "commentable_type": "sequence",    "commentable_id": "vr7akdc4pw"  }'
{  "message": "string",  "status": "string",  "data": {    "id": "string",    "content": null,    "owner": {      "id": "abc123xyz",      "first_name": "John",      "last_name": "Doe",      "email": "john.doe@example.com",      "avatar": "https://lh3.googleusercontent.com/a/AAcHTtcLT_gPCblFHL0QKonMt4822u5qrtlsvvrm0aAC1LszcPg=s288-c-no",      "created_at": "06/29/2023 21:14:57",      "updated_at": "06/29/2023 21:14:57"    },    "created_at": "string",    "updated_at": "string"  }}