# Remove the Plaid end customer

Delete the workspace's end customer at Plaid and then here, with both sealed secrets. Refused while any bank is still linked on its keys, because removing it would disconnect every one of them. Applying again starts a new review. Admin only.

Access class: `workspace:admin`.

## Endpoint

`DELETE /v1/integrations/plaid/partner`

## Responses

### 200

the action's answer

Content type: `application/json`.

```json
{
  "data": {
    "configured": true,
    "customer": {
      "active": true,
      "application": {},
      "companyName": "string",
      "createdAt": "2026-01-01T00:00:00Z",
      "endCustomerClientId": "",
      "flowdownStatus": "string",
      "lastOauthSyncAt": "2026-01-01T00:00:00Z",
      "oauthInstitutions": [
        "string"
      ],
      "productionSecretSet": true,
      "questionnaireStatus": "string",
      "sandboxSecretSet": true,
      "status": "string",
      "updatedAt": "2026-01-01T00:00:00Z"
    },
    "note": "string"
  }
}
```

### default

a refusal: `{"error": "<what a person needs to read>"}`. 401 no credential, 402 the plan does not include this, 403 the seat does not, 404 the thing does not exist or is not yours to see.

Content type: `application/json`.

```json
{
  "error": "string"
}
```
