paperclip_delete_document
Delete a document from an issue by specifying the issue ID and document key. Requires a board API key for permission.
Instructions
⚠ Board-only: Delete a document from an issue by key.
Args:
issueId: string — Issue ID or identifier (example: "PAP-42")
key: string — Document key to delete (example: "plan")
Returns: Returns the deleted document stub confirming the key and issueId.
Examples:
Use when: removing an obsolete document from an issue (requires board API key)
Don't use when: you want to clear the body — use paperclip_upsert_document with an empty body instead
Error Handling:
401: authentication failed → check PAPERCLIP_API_KEY
403: permission denied → this tool requires a board (human) API key
404: document or issue not found → verify both issueId and key
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| issueId | Yes | Issue ID or identifier (e.g. PAP-22) | |
| key | Yes | Document key (e.g. `plan`) |