github_code_scanning_delete_analysis
Delete a code scanning analysis from a GitHub repository. Specify owner, repo, and analysis ID; use confirm_delete to allow removing the final analysis.
Instructions
Delete a code scanning analysis from a repository
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | owner | |
| repo | Yes | repo | |
| analysis_id | Yes | analysis_id | |
| confirm_delete | No | Allow deletion if the specified analysis is the last in a set. If you attempt to delete the final analysis in a set without setting this parameter to `true`, you'll get a 400 response with the message: `Analysis is last of its type and deletion may result in the loss of historical alert data. Please specify confirm_delete.` |