The REST API is now versioned. For more information, see "About API versioning."
REST API endpoints for Dependabot repository access
Use the REST API to manage which repositories Dependabot can access within an organization.
About Dependabot repository access
You can list repositories that Dependabot already has access to and set a default repository access level for Dependabot.
Lists the repositories Dependabot can access in an enterprise
Lists repositories that enterprise admins have allowed Dependabot to access when updating dependencies across organizations in the enterprise.
The authenticated user must be an enterprise owner to use this endpoint.
Fine-grained access tokens for "Lists the repositories Dependabot can access in an enterprise"
This endpoint works with the following fine-grained token types:
- GitHub App user access tokens
- GitHub App installation access tokens
- Fine-grained personal access tokens
The fine-grained token must have the following permission set:
- "Enterprise administration" enterprise permissions (read)
Parameters for "Lists the repositories Dependabot can access in an enterprise"
| Name, Type, Description |
|---|
accept string Setting to |
| Name, Type, Description |
|---|
enterprise string RequiredThe slug version of the enterprise name. |
| Name, Type, Description |
|---|
page integer The page number of results to fetch. Default: |