Github Api Delete
github_api_deleteDeletes GitHub resources via REST DELETE paths or GraphQL removal mutations when no other tool supports the removal; actions are irreversible and limited by token permissions.
Instructions
Sends a DELETE to any path under api.github.com, or runs a GraphQL mutation that deletes or removes something, for a removal no other tool makes. Neither can be undone. GitHub decides what the token may remove. See #543.
Workflow and conventions: github_get_skill('api-requests').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON request body, which a few DELETE routes require | |
| path | No | Path under https://api.github.com, such as repos/octocat/hello-world/labels/bug | |
| graphql | No | A GraphQL mutation that deletes or removes something | |
| max_bytes | No | Cap on the body returned | |
| variables | No | Variables for the GraphQL mutation |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| status | Yes | ||
| has_more | Yes | ||
| truncated | Yes | ||
| bytes_total | Yes | ||
| bytes_returned | Yes |