Delete a repository secret

DELETE {{baseUrl}}/repos/:owner/:repo/actions/secrets/:secret_name

Deletes a secret in a repository using the secret name. You must authenticate using an access token with the repo scope to use this endpoint. GitHub Apps must have the secrets repository permission to use this endpoint.