Delete Version
delete_versionPermanently delete a MantisBT project version and clear its references from all affected issues; this action cannot be undone.
Instructions
Permanently delete a version of a MantisBT project. This action is irreversible.
MantisBT clears the version, target_version and fixed_in_version fields of all issues that reference the deleted version (including subprojects if versions are inherited). To retire a version without touching issues, set obsolete=true via update_version instead.
The version must belong to project_id itself: versions inherited from a parent project can only be changed via the parent's project_id (otherwise MantisBT answers "Version not found"). get_project_versions with inherit=false (the default) lists the project's own versions.
Requires the manage_project_threshold access level in the project (MantisBT default: manager).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | Numeric ID of the project the version belongs to — use list_projects to discover project IDs | |
| version_id | Yes | Numeric version ID — use get_project_versions to discover version IDs |