/orgs/{org}/actions/variables/{name}/repositories/{repository_id}Remove a repository from an organization variable
Removes a repository from an organization variable configured for selected repositories. Use name and repository_id to identify the variable and repository to remove; the variable must have visibility set to selected. The authenticated user must have collaborator access to the repository, and the token must have the required organization scope.
A 409 is returned when the variable's visibility is not set to selected. The org path parameter identifies the organization, the name path parameter identifies the variable, and the repository_id path parameter identifies the repository; the authenticated user must have collaborator access to the repository. OAuth app tokens and personal access tokens (classic) require the admin:org scope, and require the repo scope if the repository is private.