# disconnectPhoneEnrichmentProvider

Disconnect a phone-enrichment provider by providerKey (provider.key from listIntegrations phoneEnrichmentQuery.providers, e.g. Trestle); phone checks through it stop. Returns its new connectionStatus. Connecting again needs the customer's own login in the app (getIntegrationSetupUrls), so confirm with the user first. Organization admins only.

- Call: `POST https://server.goliathdata.com/api/v1/call` with `{ "operationId": "disconnectPhoneEnrichmentProvider", "variables": {...} }`
- Scope: `ADMIN`
- Type: mutation
- Idempotency: honors `Idempotency-Key` (24 h)
- Rate-limited: no

## Variables

- `providerKey`: `String!` (required)

## Response (data, an example)

```json
{
  "phoneEnrichmentMutation": {
    "disconnectProvider": {
      "provider": {
        "key": "…"
      },
      "connectionStatus": "NOT_CONNECTED"
    }
  }
}
```

## Example

```bash
curl https://server.goliathdata.com/api/v1/call \
  -H "Authorization: Bearer $GOLIATH_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "operationId": "disconnectPhoneEnrichmentProvider",
    "variables": {
      "providerKey": "<String>"
    }
  }'
```
