v56

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-08-011,4581,08113.3 MB
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

default_level'public' | 'internal' required

The default repository access level for Dependabot updates.

Example request

{
  "default_level": "internal"
}

Response

Response