# deleteInferencePolicy

```graphql
mutation DeleteInferencePolicy($projectReference: String!) {
  deleteInferencePolicy(projectReference: $projectReference) {
    ok
  }
}
```

Remove the stored inference policy of a project so it is served the defaults again; returns an acknowledgement. Requires project.settings.manage.

## Arguments

| Name               | Type    | Required | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| ------------------ | ------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `projectReference` | String! | Yes      | Project ID or slug. Removes the policy and any recorded standard-tier consent. The project is then served under the defaults: EU-only under the `eu-resident` minimum tier while the EU default is on; every allowed model once the EU default has ended. The API records who removed the policy and retains the policy history. Succeeds without a change if no policy exists. Requires a signed-in project administrator. API keys are rejected regardless of their scopes, including project-scoped keys. |

## Variables

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

## Responses

| Status | Description                                         |
| ------ | --------------------------------------------------- |
| 200    | The Acknowledgement! in data.deleteInferencePolicy. |

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

## Example response

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