DELETE
/user/installations/{installation_id}/repositories/{repository_id}Remove a repository from an app installation
Remove a single repository from an installation. The authenticated user must have admin access to the repository. The installation must have the repository_selection of selected.
To use a PAT (classic) with this endpoint, the repo scope is required
installation_idintegerrequired
The unique identifier of the installation.
repository_idintegerrequired
The unique identifier of the repository.
204Response
304Not modified
403Forbidden
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional
404Resource not found
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional
422Returned when the application is installed on `all` repositories in the organization, or if this request would remove the last repository that the application has access to in the organization.
Error handling
A 403 is returned: Forbidden. A 404 is returned: Resource not found. A 422 is returned: Returned when the application is installed on all repositories in the organization, or if this request would remove the last repository that the application has access to in the organization.