---
title: "POST /oauth/revoke"
method: POST
path: "/oauth/revoke"
tags: ["Oauth"]
---

# POST /oauth/revoke

`POST /oauth/revoke`

Revoke given token. After this operation, the given token cannot be used anymore

## Request body

- object
  - `client_id` string — Application client ID in Moka app dashboard
  - `client_secret` string — Application client secret in Moka app dashboard
  - `token` string — Access token that can be used to access Moka's APIs

## Response `200`

Revoke token response

- object
  - `data` object
  - `meta` MetadataProperty
    - `code` integer
    - `errors` object

## Other responses

- `400` — Bad parameter
- `401` — The access token is invalid
- `403` — Access token valid, but is denied to access the resource. Or, the merchant`s outlet is expired.
- `410` — API Deprecated
- `415` — Unsupported Media Type
- `500` — Internal Server Error

---

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