DeleteItemComment
Delete Comment
Description
Delete comments on items.
(Attention)
- You can delete your own comments.
- The application admin role holder can delete all comments.
- Currently, there is no notification after deletion, so it is necessary to reacquire the data using the API when displaying the screen.
- If files are linked, the target file will be deleted.
Method
DELETE
Request URL Format
/api/v0/applications/:app-id/datastores/:datastore-id/items/histories/:item-id/:history-id
URL Params
app-id: Application ID (display ID or system internal ID p_id)
datastore-id: Database ID (display ID or system internal ID d_id)
item-id: Item_id of the target item for which the comment is registered
history-id: History ID to be deleted
Payload
None
Request URL Sample
DELETE https://api.xxx.com/api/v0/applications/AppName/datastores/DatabaseID/items/histories/5f38a121aa395581685afdc4/5fe370eb28dc5c41e836d4db
Response Sample
Success
null
If you don't have permission, you'll get an error 403.
{
"error": "no privileges to delete history"
}