Skip to main content

org_secrets_repos

Overview

Nameorg_secrets_repos
TypeResource
Idgithub.codespaces.org_secrets_repos

Fields

NameDatatype
repositoriesarray
total_countinteger

Methods

NameAccessible byRequired ParamsDescription
list_selected_repos_for_org_secretSELECTorg, secret_nameLists all repositories that have been selected when the visibility for repository access to a secret is set to selected. You must authenticate using an access token with the admin:org scope to use this endpoint.
remove_selected_repo_from_org_secretDELETEorg, repository_id, secret_nameRemoves a repository from 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_repo_to_org_secretEXECorg, repository_id, secret_nameAdds 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.
set_selected_repos_for_org_secretEXECorg, secret_name, data__selected_repository_idsReplaces 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.