---
title: "Delete an organization variable"
method: DELETE
path: "/orgs/{org}/actions/variables/{name}"
tags: ["actions"]
---

# Delete an organization variable

`DELETE /orgs/{org}/actions/variables/{name}`

Deletes an organization variable using the variable name.

You must authenticate using an access token with the `admin:org` scope to use this endpoint.
If the repository is private, you must use an access token with the `repo` scope.
GitHub Apps must have the `organization_actions_variables:write` organization permission to use this endpoint.
Authenticated users must have collaborator access to a repository to create, update, or read variables.

## Path parameters

- `org` string, required
- `name` string, required

## Response `204`

Response

---

[API](https://skmtc.dev/github/apis/enterprise-server.md) · [All operations](https://skmtc.dev/github/apis/enterprise-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/github/enterprise-server/revisions/4ad3e94264bd/schema)
