# Disconnect an app

`DELETE /v1/oauth-grants/{grantId}`

Its access and refresh tokens stop working at once.

Needs a signed-in session; API and OAuth tokens get 403.

## Request

```bash
curl -X DELETE "https://api.lydie.co/v1/oauth-grants/01JCQ3V5MZ8G4ZK2X7T9R6N1PB" \
  -H "Authorization: Bearer $LYDIE_TOKEN"
```

## Path parameters

- `grantId` (string, required): (1–64 chars)

## Response

- `ok` (true, required)

```json
{
  "ok": true
}
```

Errors use the envelope described at https://developers.lydie.co/errors.md.
