Skip to content

Delete a secret in a repository

DELETE
/repos/{owner}/{repo}/actions/secrets/{secretname}
owner
required
string

Owner of the repository

repo
required
string

Name of the repository

secretname
required
string

Name of the secret

Delete one secret of the organization

Media type application/json

APIError is error format response

Media type application/json

APIError is an api error with a message

object
message
string
url
string
Example generated
{
"message": "example",
"url": "example"
}

APINotFound is a not found error response

Media type application/json
object
errors
Array<string>
message
string
url
string
Example generated
{
"errors": [
"example"
],
"message": "example",
"url": "example"
}