---
title: "DELETE /api/oauth/connected_apps/{id}"
method: DELETE
path: "/api/oauth/connected_apps/{id}"
tags: ["OAuth"]
---

# DELETE /api/oauth/connected_apps/{id}

`DELETE /api/oauth/connected_apps/{id}`

## Request

- The document declares no server URL.
- Auth: API key in cookie `session`

Revoke one app at once: every access and refresh token the user granted it ends. 404 when it is not one of the caller's apps.

## Path parameters

- `id` integer, required

## Response `204`

Empty 204 response for deletes and other content-less successes.

## Other responses

- `default`: Default error response shared by every operation. `@error` emits an OpenAPI `default` response, keeping central transport failures typed without enumerating every status on every operation.

## Changes

- **2026-10-18** `9380d4c85a04`: 3 info
  - removed the non-success response with the status `401`
  - removed the non-success response with the status `404`
  - added the optional property `errors` to the response with the `default` status
- **2026-10-17** `023e7c2cd140`: 1 info
  - endpoint added
- **2026-10-17** `d09902c84ca9`: 1 breaking
  - api path removed without deprecation
- **2026-10-17** `b3e2bb3e440b`: 1 info
  - endpoint added
- **2026-10-17** `6038dca99ed6`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/hexlet-basics/apis/hexlet-basics-api/changes/api/oauth/connected_apps/:id/delete.md)

---

[API](https://skmtc.dev/hexlet-basics/apis/hexlet-basics-api.md) · [All operations](https://skmtc.dev/hexlet-basics/apis/hexlet-basics-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hexlet-basics/apis/hexlet-basics-api/revisions/51c7f596b47c?raw)
