# deleteRelease

```graphql
mutation DeleteRelease($input: DeleteReleaseInput!) {
  deleteRelease(input: $input) {
    ok
  }
}
```

Delete a release. Requires project.releases.write; API keys also need delete scope.

## Arguments

| Name       | Type                | Required | Description |
| ---------- | ------------------- | -------- | ----------- |
| `input`    | DeleteReleaseInput! | Yes      |             |
| `input.id` | ID!                 | Yes      |             |

## Variables

```json
{
  "input": {
    "id": "string"
  }
}
```

## Responses

| Status | Description                                      |
| ------ | ------------------------------------------------ |
| 200    | The DeleteReleasePayload! in data.deleteRelease. |

## Call it

```bash
curl -X POST "https://api.veryfront.com/graphql" \
  -H "Authorization: Bearer $VERYFRONT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "query": "mutation DeleteRelease($input: DeleteReleaseInput!) {\n  deleteRelease(input: $input) {\n    ok\n  }\n}",
  "variables": {
    "input": {
      "id": "string"
    }
  }
}'
```

## Example response

```json
{
  "data": {
    "deleteRelease": {
      "ok": false
    }
  }
}
```
