# deleteProject

```graphql
mutation DeleteProject($input: DeleteProjectInput!) {
  deleteProject(input: $input) {
    ok
  }
}
```

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

## Arguments

| Name       | Type                | Required | Description                         |
| ---------- | ------------------- | -------- | ----------------------------------- |
| `input`    | DeleteProjectInput! | Yes      |                                     |
| `input.id` | ID!                 | Yes      | Project UUID to permanently delete. |

## Variables

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

## Responses

| Status | Description                                     |
| ------ | ----------------------------------------------- |
| 200    | The DeleteProjectPayload in data.deleteProject. |

## 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 DeleteProject($input: DeleteProjectInput!) {\n  deleteProject(input: $input) {\n    ok\n  }\n}",
  "variables": {
    "input": {
      "id": "string"
    }
  }
}'
```

## Example response

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