---
title: "Delete a user-level variable which is created by current doer"
method: DELETE
path: "/user/actions/variables/{variablename}"
tags: ["user"]
---

# Delete a user-level variable which is created by current doer

`DELETE /user/actions/variables/{variablename}`

## Path parameters

- `variablename` string, required

## Response `201`

response when deleting a variable

## Other responses

- `204` — response when deleting a variable
- `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)
