Github API - Test Config

PUT /user/codespaces/secrets/{secret_name}/repositories/{repository_id}
users
codespaces
repos

Adds a repository to the selected repositories for a user's codespace secret.
You must authenticate using an access token with the codespace or codespace:secrets scope to use this endpoint. User must have Codespaces access to use this endpoint.
GitHub Apps must have write access to the codespaces_user_secrets user permission and write access to the codespaces_secrets repository permission on the referenced repository to use this endpoint.
Add a selected repository to a user secret

Arguments
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
401 requires_authentication

requires_authentication [scalar]

Requires authentication

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

forbidden [scalar]

Forbidden

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

not_found [scalar]

Resource not found

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

internal_error [scalar]

Internal Error

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