Delete a comment
DELETE
/api/v1/comments/{commentId}
const url = 'https://app.avera.io/api/v1/comments/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = {method: 'DELETE'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://app.avera.io/api/v1/comments/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0A comment with no surviving replies is removed outright, and if it is the thread’s root the whole thread goes with it. A comment that still has replies stays as a tombstone so the reply tree is not orphaned.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”commentId
required
string format: uuid
Responses
Section titled “Responses”OK