Delete Experiment Comment
DELETE
/v2/project/{project_key}/experiment/{test_id}/discussion/{comment_id}Delete one comment from an experiment's Discussion. Allowed for the comment's own author, or an Owner/Admin moderating the thread.
Path parameters
| Parameter | Description |
|---|---|
project_key | Your project's API key |
test_id | The experiment id |
comment_id | The comment's id from Get Experiment Discussion |
Example
curl -X DELETE "https://api-{region}.mida.so/v2/project/YOUR_PROJECT_KEY/experiment/34567/discussion/984" \
-H "Authorization: Bearer YOUR_GENERATED_API_KEY"
Success response
{
"success": true,
"test_id": 34567,
"comment_id": 984,
"deleted_preview": "Mobile is flat so far — desktop carrying the lift."
}
Errors
| Status | Meaning |
|---|---|
403 | Not the author, and not an Owner or Admin |
404 | No such comment on this experiment |