Skip to content

Delete an organization secret

DELETE
/orgs/{org}/dependabot/secrets/{secret_name}

Deletes a secret in an organization using the secret name.

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

API method documentation

org
required
string

The organization name. The name is not case sensitive.

secret_name
required
string

The name of the secret.

Response