GitHubClient.RemoveSelectedRepoFromOrgSecretAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Remove selected repository from an organization secret
public virtual System.Threading.Tasks.Task RemoveSelectedRepoFromOrgSecretAsync(string repositoryOwner, int repositoryId, string secretName, System.Threading.CancellationToken cancellationToken = default);
abstract member RemoveSelectedRepoFromOrgSecretAsync : string * int * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.RemoveSelectedRepoFromOrgSecretAsync : string * int * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function RemoveSelectedRepoFromOrgSecretAsync (repositoryOwner As String, repositoryId As Integer, secretName As String, Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- repositoryOwner
- String
Repository Owner
- repositoryId
- Int32
Repository Id
- secretName
- String
Secret Name
- cancellationToken
- CancellationToken
Cancellation token.
Returns
Remarks
Removes 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. GitHub Apps must have the secrets organization permission to use this endpoint.