# Delete a milestone

From **GitHub v3 REST API**.

`DELETE /repos/{owner}/{repo}/milestones/{milestone_number}`

Delete a milestone

## Parameters

### `owner`

- Location: path
- Required: true
- Type: `string`

### `repo`

- Location: path
- Required: true
- Type: `string`

### `milestone_number`

- Location: path
- Required: true
- Type: `integer`

milestone_number parameter

## Responses

### `204`

Response

### `404`

Resource not found

### `application/json`

- Type: `object`

Basic Error

```json
{"description":"Basic Error","properties":{"documentation_url":{"type":"string"},"message":{"type":"string"},"status":{"type":"string"},"url":{"type":"string"}},"title":"Basic Error","type":"object"}
```

## Request examples

### cURL

```shell
curl --request DELETE \
  --url {protocol}://{hostname}/api/v3/repos/{owner}/{repo}/milestones/{milestone_number}
```
