# Disconnect an app

`DELETE /api/v1/oauth-connections/{oauthConnection}`

Disconnect one app, for example a phone you lost or an assistant you no longer use.

The app stops reaching your account the moment this answers, and cannot renew its access. Your other connections and your API keys are untouched.

## Path parameters

- `oauthConnection` (integer, required): The id of the connection.

## Returns

Nothing at all. A connection of somebody else, or one already ended, answers 404.

## Rate limit

Sixty requests per minute, per user, shared by every key and device. Every answer carries the budget left in `X-RateLimit-Remaining`.

## Request

```sh
curl https://people.hansyeoh.com/api/v1/oauth-connections/12 \
  -X DELETE \
  -H "Authorization: Bearer $MONICA_TOKEN"
```

```javascript
const response = await fetch('https://people.hansyeoh.com/api/v1/oauth-connections/12', {
  method: 'DELETE',
  headers: { Authorization: `Bearer ${token}` },
})
```

```php
$response = Http::withToken($token)->delete('https://people.hansyeoh.com/api/v1/oauth-connections/12');
```

## Response

`204`, with no body.
