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

Delete a secret in an organization

DELETE
/orgs/{org}/actions/secrets/{secretname}
curl --request DELETE \
--url https://gitea.com/api/v1/orgs/example/actions/secrets/example \
--header 'Authorization: Basic <credentials>'
org
required
string

Name of organization

secretname
required
string

Name of the secret

Delete one secret of the organization

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