Skip to main content

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

ParameterDescription
project_keyYour project's API key
test_idThe experiment id
comment_idThe 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

StatusMeaning
403Not the author, and not an Owner or Admin
404No such comment on this experiment