# deleteProjectIntegration

```graphql
mutation DeleteProjectIntegration($projectReference: String!, $name: String!) {
  deleteProjectIntegration(projectReference: $projectReference, name: $name) {
    ok
  }
}
```

Reset the settings of a project for one integration to the defaults without touching its connections, also when no settings were stored; every surface returns { ok: true }. Requires project.integrations.configure; API keys also need delete scope.

## Arguments

| Name               | Type    | Required | Description |
| ------------------ | ------- | -------- | ----------- |
| `projectReference` | String! | Yes      |             |
| `name`             | String! | Yes      |             |

## Variables

```json
{
  "projectReference": "string",
  "name": "string"
}
```

## Responses

| Status | Description                                                           |
| ------ | --------------------------------------------------------------------- |
| 200    | The DeleteProjectIntegrationResult! in data.deleteProjectIntegration. |

## 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 DeleteProjectIntegration($projectReference: String!, $name: String!) {\n  deleteProjectIntegration(projectReference: $projectReference, name: $name) {\n    ok\n  }\n}",
  "variables": {
    "projectReference": "string",
    "name": "string"
  }
}'
```

## Example response

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