.nh .TH "GH-SECRET-DELETE" "1" "Oct 2022" "" "GitHub CLI manual" .SH NAME .PP gh-secret-delete - Delete secrets .SH SYNOPSIS .PP \fB\fCgh secret delete [flags]\fR .SH DESCRIPTION .PP Delete a secret on one of the following levels: - repository (default): available to Actions runs or Dependabot in a repository - environment: available to Actions runs for a deployment environment in a repository - organization: available to Actions runs, Dependabot, or Codespaces within an organization - user: available to Codespaces for your user .SH OPTIONS .TP \fB\fC-a\fR, \fB\fC--app\fR \fB\fC\fR Delete a secret for a specific application: {actions|codespaces|dependabot} .TP \fB\fC-e\fR, \fB\fC--env\fR \fB\fC\fR Delete a secret for an environment .TP \fB\fC-o\fR, \fB\fC--org\fR \fB\fC\fR Delete a secret for an organization .TP \fB\fC-u\fR, \fB\fC--user\fR Delete a secret for your user .SH OPTIONS INHERITED FROM PARENT COMMANDS .TP \fB\fC-R\fR, \fB\fC--repo\fR \fB\fC<[HOST/]OWNER/REPO>\fR Select another repository using the [HOST/]OWNER/REPO format .SH SEE ALSO .PP \fB\fCgh-secret(1)\fR