v56

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-08-011,4581,08113.3 MB
dependabot

Updates Dependabot's repository access list for an organization

Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies.

[!NOTE] This operation supports both server-to-server and user-to-server access. Unauthorized users will not see the existence of this endpoint.

Example request body:

{
  "repository_ids_to_add": [123, 456],
  "repository_ids_to_remove": [789]
}
patch/orgs/{org}/dependabot/repository-access

Path parameters

orgstring required

The organization name. The name is not case sensitive.

Request body

repository_ids_to_addinteger[]

List of repository IDs to add.

repository_ids_to_removeinteger[]

List of repository IDs to remove.

Example request

{
  "repository_ids_to_add": [
    123,
    456
  ],
  "repository_ids_to_remove": [
    789
  ]
}

Response

Response