跳转到内容
Try Gitea Cloud ☁️ for 30 days → Accelerate your Development & Deploys!
Support

Delete a secret in a repository

DELETE
/repos/{owner}/{repo}/actions/secrets/{secretname}
curl --request DELETE \
--url https://gitea.example.com/api/v1/repos/example/example/actions/secrets/example \
--header 'Authorization: Basic <credentials>'
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 repository

Media typeapplication/json

APIError is error format response

Media typeapplication/json
message
string
url
string

APINotFound is a not found empty response

Media typeapplication/json