Back to GithubSet selected repositories for an organization variable
Replaces all repositories for an organization variable that is available to selected repositories. Organization variables that are available to selected repositories have their visibility
field set to selected
. You must authenticate using an access token with the admin:org
scope to use this endpoint. GitHub Apps must have the organization_actions_variables:write
organization permission to use this endpoint.
Input
type: object
properties:
parameters:
type: object
properties:
org:
type: string
description: The organization name. The name is not case sensitive.
name:
type: string
description: The name of the variable.
required:
- org
- name
title: Parameters
data:
type: object
properties:
selected_repository_ids:
type: array
description: The IDs of the repositories that can access the organization variable.
items:
type: integer
title: Data