Github API - Test Config

PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}
orgs
codespaces
repos

Adds a repository to 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.
Add selected repository to an organization secret

Arguments
key org

org [scalar]

The organization name. The name is not case sensitive.

API:
Github Open API
(version: 1.1.4)

key secret-name

secret-name [scalar]

The name of the secret.

API:
Github Open API
(version: 1.1.4)

repository_id integer

integer [scalar]

The OpenAPI integer type

API:
Github Open API
(version: 1.1.4)

Returns
404 not_found

not_found [scalar]

Resource not found

API:
Github Open API
(version: 1.1.4)
422 validation_failed

validation_failed [scalar]

Validation failed, or the endpoint has been spammed.

API:
Github Open API
(version: 1.1.4)
API:
Github Open API
(version: 1.1.4)