dependabot
Updates Dependabot's repository access list for an enterprise
Changed onUpdates 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:
{
"repository_ids_to_add": [123, 456],
"repository_ids_to_remove": [789]
}
[!NOTE] The "Enterprise administration" fine-grained permission is not available to callers. To use this API, you must use an OAuth app token or a personal access token (classic).
patch/enterprises/{enterprise}/dependabot/repository-access
Request
- Base URL: https://api.github.com
- URL: https://api.github.com/enterprises/{enterprise}/dependabot/repository-access
- Auth: none declared
Path parameters
enterprisestring required
The slug version of the enterprise name.
Request body
Example request
{
"repository_ids_to_add": [
123,
456
],
"repository_ids_to_remove": [
789
]
}Response
Response
Changes
- info
endpoint added
- info