agent-automations
Delete an automation for a repository
Changed onDeletes an automation in a repository.
Fine-grained access tokens for "Delete an automation for a repository"
This endpoint works with the following fine-grained token types:
The fine-grained token must have one of the following permission sets for each repository accessed by this request:
- "Agent tasks" repository permissions (read and write)
- "Contents" repository permissions (read and write)
The required permission set depends on each repository's Automation permission configuration.
GitHub App installation access tokens are not supported for this endpoint.
delete/agents/repos/{owner}/{repo}/automations/{automation_id}
Request
- Base URL: https://api.github.com
- URL: https://api.github.com/agents/repos/{owner}/{repo}/automations/{automation_id}
- Auth: none declared
Path parameters
ownerstring required
The account owner of the repository. The name is not case sensitive.
repostring required
The name of the repository. The name is not case sensitive.
automation_idstring required
The unique identifier of the automation.
Response
Automation deleted successfully
Changes
- info
endpoint added
- info