Delete a comment
If you are the website owner, you can delete comments by removing them from the appendable data associated with the current page.
Contents

Delete a comment from the appendable data
The plugin moves the comment you want to delete to the deleted_data field of the appendable data associated with the current page.
DELETE /appendable-data/:handleId/:indexwindow.safeAppendableData.removeAt(this._authToken, this._currentPostHandleId, index)Update the appendable data
The plugin updates the appendable data associated with the current page by sending a POST request to the SAFE Network.
POST /appendable-data/:handleIdwindow.safeAppendableData.post(this._authToken, this._currentPostHandleId)Clear all deleted data from the appendable data
The plugin clears the deleted_data field of the appendable data associated with the current page.
DELETE /appendable-data/clear-deleted-data/:handleIdwindow.safeAppendableData.clearAll(this._authToken, this._currentPostHandleId, true)Update the appendable data (again)
The plugin updates the appendable data associated with the current page by sending a POST request to the SAFE Network.
POST /appendable-data/:handleIdwindow.safeAppendableData.post(this._authToken, this._currentPostHandleId)The plugin then reloads the comments.
Last updated
Was this helpful?