Update Comment
comments
Update Comment
Update a comment’s body text (author only).
PATCH
Update Comment
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Query Parameters
Body
application/vnd.api+json
Top-level envelope for PATCH /api/comments/.
Shape: { "data": { "type": "comments", "attributes": { "body": "..." } } }
JSON:API resource wrapper for an update request.
Response
Successful Response
Single-item JSON:API envelope for a comment.
Shape: { "data": }
JSON:API resource object for a comment.
Shape: { "type": "comments", "id": "", "attributes": { ... }, "links": { "self": "/api/comments/" } }