---
title: "Disconnect an app from your account."
method: POST
path: "/api/account/apps/revoke"
---

# Disconnect an app from your account.

`POST /api/account/apps/revoke`

## Request

- Base URL: `https://okfindex.com`
- URL: `https://okfindex.com/api/account/apps/revoke`
- Auth: API key in cookie `__Host-mm-auth`

Stops the app's access at once; it asks you to sign in again. Repeating is harmless.
Returns: { ok }

## Request body

- object
  - `id` string, required: The app `id`.

## Response `200`

{ ok }

- object
  - `ok` boolean, required: true

## Other responses

- `400`: invalid_app_id
- `401`: invalid_session
- `403`: invalid_origin / invalid_csrf
- `404`: app_not_found
- `503`: auth_unavailable

---

[API](https://skmtc.dev/okfindex/apis/okf-index.md) · [All operations](https://skmtc.dev/okfindex/apis/okf-index/llms.txt) · [OpenAPI document](https://skmtc.dev/okfindex/apis/okf-index/revisions/4b13ca3c739f?raw)
