# Disconnect the owner's ChatGPT account.

Source: <https://everruns.com/docs/api/operations/disconnect/>

DELETE

/v1/providers/{provider\_id}/chatgpt

Select code samplecURL (shell:curl)

```js
const url = 'https://app.everruns.com/api/v1/providers/example/chatgpt';
const options = {method: 'DELETE'};


try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```sh
curl --request DELETE \
  --url https://app.everruns.com/api/v1/providers/example/chatgpt
```

* Production APIapp.everruns.com/api/v1/providers/{provider\_id}/chatgpt

Cancels pending sign-in and revokes a stored grant before clearing credentials. A failed revocation retains credentials so the owner can retry.

## Parameters

### Path Parameters

**provider\_id**

required

string

Personal provider ID

## Responses

### 200

Personal connection disconnect

Media typeapplication/json

##### Examplegenerated

```json
example
```

### 400

Invalid connection request

### 404

Provider not found or owned by another user

### 502

Provider exchange or revocation failed