dependabot
Set the default repository access level for Dependabot in an enterprise
Sets the default level of repository access Dependabot will have while performing an update across organizations in the enterprise. Available values are:
- 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.
- 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.
The authenticated user must be an enterprise owner to use this endpoint.
put/enterprises/{enterprise}/dependabot/repository-access/default-level
Path parameters
enterprisestring required
The slug version of the enterprise name.
Request body
Example request
{
"default_level": "internal"
}Response
Response