delete_work_package_wiki_link
Permanently deletes a relation-type wiki page link from a work package after verifying the link belongs to it.
Instructions
Delete a work package's wiki page link; this cannot be undone.
Requires OpenProject 17.6+. On 17.4 or older this returns a [not_found] naming 17.6; on 17.5 the link check below usually fails first with a [server_error].
This tool lists the work package's links first to verify that link_id belongs to work_package_id (an authorization check), so it fails with a [server_error] whenever list_work_package_wiki_links does (see there).
Only relation links (link_type "relation") can be deleted. An inline link comes from a wiki link in the work package's description or from a wiki page that mentions the work package; this tool rejects it with a [validation_error], and the link goes away only when that text changes. Deleting needs the "Manage wiki page links" permission in the work package's project; without it OpenProject answers 404, which the tool reports as a [not_found] naming 17.6, not as [permission_denied].
work_package_id must be the work package the link belongs to; OpenProject has no single GET for a link, so the delete is authorized against that work package's project. link_id: the wiki page link's own id, from list_work_package_wiki_links.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | false: preview only, nothing changes. true: applies it; get the user's approval of the preview first. | |
| link_id | Yes | ||
| work_package_id | Yes | Work package id (e.g. 952) or display id (e.g. "PROJ-51"), not the bare number 51. |