Delete a comment in a record in an app.
Method | DELETE |
URL | https://{subdomain}.kintone.com/k/v1/record/comment.json |
URL(guest space) | https://{subdomain}.kintone.com/k/guest/{SpaceID}/v1/record/comment.json |
Authentication | API Token Authentication , Password Authentication |
Content-Type | application/json (not needed if specifying the query with a query string) |
Permissions
- The user or API Token must have permission to view the record.
- 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.
Request Parameters
PARAMETER | VALUE | REQUIRED | DESCRIPTION |
---|---|---|---|
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 (Query String)
JavaScript (using Kintone REST API Request)
N/A - kintone.api() requires requests to be sent with the Content-Type:application/json header for DELETE requests.
curl Sample
Sample Request (JSON)
JavaScript (using Kintone REST API Request)
curl Sample
Sample Response
None. An empty JSON will be returned.
Limitations
- An error will return if the commenting feature of the App is turned off.
- For other limitations, check the limitations on this page