---
title: "Delete a secret in an organization"
method: DELETE
path: "/orgs/{org}/actions/secrets/{secretname}"
tags: ["organization"]
---

# Delete a secret in an organization

`DELETE /orgs/{org}/actions/secrets/{secretname}`

## Path parameters

- `org` string, required
- `secretname` string, required

## Response `204`

delete one secret of the organization

## Other responses

- `400` — APIError is error format response
- `404` — APINotFound is a not found empty response

---

[API](https://skmtc.net/gitea/apis/gitea-api.md) · [All operations](https://skmtc.net/gitea/apis/gitea-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gitea/gitea-api/revisions/350de506cefa/schema)
