Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Delete an autolink reference from a repository
GITHUB_DELETE_AUTOLINK_REFERENCEDeletes a specific autolink reference (which automatically links external resource IDs like JIRA-123 to URLs) from the specified repository.
Delete a workflow run
GITHUB_DELETE_A_WORKFLOW_RUNDeletes a specific workflow run from a repository.
Delete branch protection
GITHUB_DELETE_BRANCH_PROTECTIONRemoves all protection rules from a specific branch in a GitHub repository; the branch must currently have protection rules enabled.
Delete a code scanning analysis from a repository
GITHUB_DELETE_CODE_SCANNING_ANALYSISDeletes a specific code scanning analysis by its ID from a repository; `confirm_delete` must be `true` if it's the last analysis of its type for a given tool and reference to prevent data loss.
Delete a codespace for the authenticated user
GITHUB_DELETE_CODESPACEDeletes a specific codespace owned by the authenticated user; this is a destructive action and the codespace must exist.
Delete a commit comment
GITHUB_DELETE_COMMIT_COMMENTDeletes a specific commit comment, identified by its `comment_id`, from the specified repository; the comment must exist.
Delete a custom organization role
GITHUB_DELETE_CUSTOM_ORGANIZATION_ROLEDeletes a custom organization role (which should not be actively assigned) by its ID; a 204 No Content response indicates success.
Delete dependabot secret by name
GITHUB_DELETE_DEPENDEBOT_SECRET_BY_NAMEDeletes a specific Dependabot secret, identified by its name, from a given repository if both the repository and secret exist.
Delete a deployment
GITHUB_DELETE_DEPLOYMENTPermanently deletes a specified *inactive* deployment from a repository.
Delete a deployment branch policy
GITHUB_DELETE_DEPLOYMENT_BRANCH_POLICYDeletes a specific deployment branch or tag policy, identified by its ID, from a given environment within a repository.
Delete a discussion
GITHUB_DELETE_DISCUSSIONDeletes a specific team discussion, identified by its number, from an organization's team.
Delete a discussion comment
GITHUB_DELETE_DISCUSSION_COMMENTDeletes a specific comment from an existing team discussion within an organization, provided the specified organization, team, discussion, and comment all exist.
Delete authenticated user email address
GITHUB_DELETE_EMAIL_ADDRESSAttempts to delete specified email addresses from the authenticated user's GitHub account.
Delete an environment
GITHUB_DELETE_ENVIRONMENTDeletes an existing deployment environment from an existing repository.
Delete an environment secret
GITHUB_DELETE_ENVIRONMENT_SECRETDeletes an existing and accessible secret from a specified environment within a GitHub repository, returning an empty dictionary on success or error details otherwise.
Delete an environment variable
GITHUB_DELETE_ENVIRONMENT_VARIABLEDeletes a named environment variable from a specified, existing environment within a GitHub repository.
Delete a gist
GITHUB_DELETE_GISTPermanently deletes an existing GitHub gist, specified by its `gist_id`; this action is destructive and cannot be undone.
Delete a gist comment
GITHUB_DELETE_GIST_COMMENTDeletes a specific comment from a GitHub Gist using its `gist_id` and `comment_id`.
Delete GitHub Actions cache by ID
GITHUB_DELETE_GITHUB_ACTIONS_CACHE_BY_IDDeletes a specific GitHub Actions cache from a repository using its unique `cache_id`.
Delete a GitHub Pages site
GITHUB_DELETE_GITHUB_PAGES_SITEDeletes the GitHub Pages site for the specified repository; completes without error if no site is currently enabled.