Delete CommentDELETE /comment.json
The user or API Token must have permission to view the record to delete a comment.
|app||Integer or String||Yes||The App ID.|
|record||Integer or String||Yes||The Record ID.|
|comment||Integer or String||Yes||The Comment ID.|
Sample Request using Query Strings
The query string is sent by joining the request parameters with an "&", and a URL encoded query value.
HTTP Query String
DELETE /k/v1/record/comment.json? app%3D1%26record%3D1%26comment%3D1 HTTP/1.1 Host: example.kintone.com:443 X-Cybozu-Authorization: a2ludG9uZTpkZXZlbG9wZXI= Authorization: Basic a2ludG9uZTpkZXZlbG9wZXI=
The Content-Type header is not needed.
Sample Request using JSON
DELETE /k/v1/record/comment.json HTTP/1.1 Host: example.kintone.com:443 X-Cybozu-Authorization: a2ludG9uZTpkZXZlbG9wZXI= Authorization: Basic a2ludG9uZTpkZXZlbG9wZXI= Content-Type: application/json
Specify application/json for the Content-Type.
None. An empty JSON will be returned.
- If user authentication is used to delete a comment, only comments created by that user can be deleted.
- If an API Token is used to delete a comment, only comments created by the user "Administrator" can be deleted.
- An error will return if the commenting feature of the app is turned off.
- For other limitations, check the limitations on this page