Set selected repositories for an organization secret
PUT {{baseUrl}}/orgs/:org/actions/secrets/:secret_name/repositories
Replaces all repositories for an organization secret when the visibility
for repository access is set to selected
. The visibility is set when you Create or update an organization secret. You must authenticate using an access token with the admin:org
scope to use this endpoint. GitHub Apps must have the secrets
organization permission to use this endpoint.
Request Body
{"selected_repository_ids"=>["<integer>", "<integer>"]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |