Delete a study
prism_studies_deletePermanently deletes a study with its responses, interviews, analysis, and share links. Right for a draft that won't be fielded or a duplicate; for a live study the user just wants to stop, prefer prism_studies_update closed: true — that keeps the data. Study ids come from prism_studies_list_workspace. May return needs_confirmation — name the study and its response count, then wait.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| studyId | Yes | Study id (from prism_studies_list_workspace). | |
| workspace | No | Workspace slug. Personal tokens with no default workspace MUST pass this; tokens with a default can override per call. Ignored for workspace API keys. | |
| approvalId | No | Approval id from a prior needs_confirmation envelope. |