---
title: "Delete access token"
method: DELETE
path: "/api/v2/user/accesstoken/{token}"
tags: ["User"]
---

# Delete access token

`DELETE /api/v2/user/accesstoken/{token}`

Revokes an access token by setting its expiration to the current time. The token can
no longer be used for authentication. Returns the expired token document.

## Path parameters

- `token` string, required

## Response `200`

OK

- AccessTokenResponse
  - `id` string, required
  - `isExtensible` boolean, required
  - `adminScope` 'read' | 'full'
  - `bitgoAdminPermissions` string[]
  - `client` string
  - `created` string, date-time
  - `enterprise` string
  - `expires` string, date-time
  - `extensionAddress` string
  - `ip` string, ipv4 — IP address of the client that requested this access token
  - `ipRestrict` string[]
  - `label` string
  - `origin` string — BitGo environment that issued this token
  - `token` string
  - `scope` string[]
  - `unlock` object
    - `spendingLimits` object
    - `allErc20TokensLimit` AllErc20TokenLimit
      - `enabled` boolean, required — Indicates if the limit is enabled for all ERC20 tokens
      - `txCount` number, required — The transaction count limit for all ERC20 tokens
      - `txValue` string, required — The transaction value limit for all ERC20 tokens
      - `txValueLimitInSmallUnits` string — The transaction value limit in small units for all ERC20 tokens
      - `maxLimit` boolean — Indicates if the maximum limit is enabled
    - `expires` string, date-time
    - `time` string, date-time
    - `txCount` number
    - `txValue` number
    - `txValueLimit` number
  - `user` string
  - `oauth` object
    - `oauthRequired` boolean
    - `expires` string, date-time
  - `isMobileAccessToken` boolean — Flag indicating if this token was created via mobile session endpoint

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

[API](https://skmtc.net/bitgo/apis/bitgo-api.md) · [All operations](https://skmtc.net/bitgo/apis/bitgo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bitgo/bitgo-api/revisions/e445c15e5bee/schema)
