provider dependabot PATCH
/enterprises/{enterprise}/dependabot/repository-access @utdk/github
/enterprises/{enterprise}/dependabot/repository-access Updates Dependabot's repository access list for an enterprise
Updates repositories according to the list of repositories that enterprise admins have given Dependabot access to when they've updated dependencies across organizations in the enterprise.
The authenticated user must be an enterprise owner to use this endpoint.
**Example request body:**
```json
{
"repository_ids_to_add": [123, 456],
"repository_ids_to_remove": [789]
}
```
- enterprise path required
- The slug version of the enterprise name.
- string
Try it
Authentication
Configure credentials for GitHub v3 REST API
Code snippet
Updates live as you fill in the form above.
TypeScript
import github from '@utdk/github';
await github.dependabot.updateRepositoryAccessForEnterprise()