---
title: "Delete a release and its files; its tag stays, and git can move or delete it again"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.gitpando.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: Pando API › releases

`DELETE /v1/monorepos/{owner}/{monorepo}/repos/{repo}/releases/{tag}`

## Authentication

Requires one of the following:

- `credential`, http, header `Authorization`
- `session`, apiKey, in cookie

## Path parameters

- `deleteRelease.path.owner` (string, required) — The monorepo's owner, a namespace (a person's login or an organization). Matched without case.
  - pattern `^[a-z0-9](?:[a-z0-9]|-(?=[a-z0-9])){0,38}$`
- `deleteRelease.path.monorepo` (string, required) — The monorepo's name within its owner (or an old name). Matched without case.
  - pattern `^[a-z0-9](?:[a-z0-9._]|-(?!-)){0,38}$`
- `deleteRelease.path.repo` (string, required) — The repo's `name` (`projects-web`).
- `deleteRelease.path.tag` (string, required) — The tag; on GET, `latest` is the newest published release.

## Code samples

### cURL

```curl
curl --request DELETE \
  --url https://app.gitpando.com/v1/monorepos/string/string/repos/string/releases/string \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://app.gitpando.com/v1/monorepos/string/string/repos/string/releases/string';
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://app.gitpando.com/v1/monorepos/string/string/repos/string/releases/string"

headers = {"Authorization": "Bearer <token>"}

response = requests.delete(url, headers=headers)

print(response.text)
```

## Responses

### 204

Deleted


Source: https://docs.gitpando.com/api/releases/deleteRelease/index.md
