Skip to main content

Delete Survey

DELETE/v2/project/{project_key}/survey/{survey_id}

Archive a survey: off the site and off the list. Its answers stay.

There is no hard delete. An archived survey stops being shown, is left out of List Surveys unless you pass include_archived=true, and can't be edited or set live again. Its results and responses stay readable.

Example​

curl -X DELETE "https://api-{region}.mida.so/v2/project/YOUR_PROJECT_KEY/survey/42" \
-H "Authorization: Bearer YOUR_GENERATED_API_KEY"

Success response​

{
"success": true,
"survey_id": 42,
"status": "archived"
}

Error responses​

StatusMeaning
401Invalid or missing API key
403Surveys need a paid plan, or the key's user is a Viewer (for changes)
404Project or survey not found. A survey from another project is not found