---
title: "Delete platform credentials"
description: "Delete a saved OAuth app credential set when no connected accounts still use it."
section: "API reference"
url: https://dravo.dev/docs/api/oauth/delete-app
---
# Delete platform credentials

Delete a saved platform credential set after disconnecting any accounts that
still depend on it. Dravo refuses the delete while connected accounts reference
the OAuth app, so you do not accidentally strand live connections.

#### `DELETE /v1/oauth-apps/{oauth_app_id}`

Delete a saved platform credential set. It cannot be deleted while connected accounts still use it.

**Auth:** API key (`dra_…`) or dashboard JWT

| Field | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `Authorization` | header | string | yes | Bearer token. Use a Dravo API key (`dra_...`) or a dashboard JWT. |
| `oauth_app_id` | path | string | yes | OAuth app id. |

Response `204`: OAuth app deleted. Empty response body.

Errors:

- `401`: Missing or invalid API key / JWT.
- `409`: This OAuth app has connected accounts. Remove them first.
