---
title: "Revoke access to account"
method: DELETE
path: "/accounts/{id}/verification-token"
tags: ["Accounts"]
deprecated: true
---

# Revoke access to account

`DELETE /accounts/{id}/verification-token`

> **Deprecated.**

> ⚠️
>
> This endpoint is deprecated.
> <pre></pre>
> Accounts connected via an official open banking connection can't be revoked on an individual basis via API. Calling this endpoint for accounts that have a `connection_type` of `official` will result in a 400 error response.
> <pre></pre>
> Use one of these alternative options to the update the accounts connected via `official` connections:
>  - Send the user to the [📚 authorisation flow](/docs/authorizing-with-oauth2) where they can reduce the scope of the authorisation via their bank.
>  - Use the [Revoke Access To Authorisation](/reference/delete_authorisations-id) endpoint to revoke the entire authorisation.

Revoke your application's access to one of the user's connected accounts and its associated data, including transactions.

Use this if you no longer require access to the consented account data.

For more details see:
  - [📚 Accessing account data guide](/docs/accessing-account-data)
  - [📖 Account model](/docs/the-account-model)

## Headers

- `X-Akahu-Id` string, required

## Response `200`

Successful response.

- object
  - `success` boolean

## Other responses

- `400` — Your request was malformed or otherwise unacceptable. More details are provided under the `message` key in the response.
- `401` — You are not authorised to access this content.
- `403` — You are not allowed to access this content.
- `404` — The item you are trying to access doesn't exist.
- `500` — An internal error has prevented us from processing the request. More detail may be supplied in the `message` key.

---

[API](https://skmtc.dev/akahu/apis/akahu-enduring-api.md) · [All operations](https://skmtc.dev/akahu/apis/akahu-enduring-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/akahu/akahu-enduring-api/revisions/b2de9915920d/schema)
