Take a comment back
const url = 'https://beta-api.plune.ai/v1/comments/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
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://beta-api.plune.ai/v1/comments/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'Authorization: Bearer <token>'B8-team T5 (api.ts → deleteComment, «Delete» on the row). Soft: the row stays for the audit entry that names it, the list stops showing it. The author may take back their own; an owner of the project may take back anyone’s. Somebody else’s comment is answered 404 to everybody else — the same answer an id nobody has gets, on purpose. Audited on the case as test_case/comment, the text as before.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Header Parameters
Section titled “Header Parameters ”Which of your projects to act in — an id from GET /v1/projects. Absent, your default project. A project you are not a member of answers 404, the same as one that does not exist. Ignored under a bearer token, which is bound to the project it was minted in.
Responses
Section titled “ Responses ”Taken back
No / invalid token or session
A reader asked
object
Example
{ "error": "read-only member"}Not yours to take back, already gone, or never there
object
Example
{ "error": "comment '6f1c2b3a-0000-4000-8000-0000000000a4' not found"}Rate-limited: either the per-route throttle or a tenant quota. Retry-After carries the seconds until the window rolls over.
object
Example generated
{ "error": "example"}Headers
Section titled “Headers ”Seconds until the window rolls over