# DELETE /orgs/{org}/dependabot/secrets/{secret_name}

**Resource:** [dependabot](../resources/dependabot.md)
**Delete an organization secret**
**Operation ID:** `dependabot/delete-org-secret`

Deletes a secret in an organization using the secret name.

OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.

## Responses

| Status | Description |
|--------|-------------|
| 204 | Response |

