---
title: "Revoke a token will cause the token to be removed from system
Any subsequent authorization calls with the token will fail"
method: POST
path: "/oauth/revoke_token"
tags: ["oauth"]
---

# Revoke a token will cause the token to be removed from system
Any subsequent authorization calls with the token will fail

`POST /oauth/revoke_token`

Revokes an oauth token

## Query parameters

- `token` string, required
- `token_type_hint` string

## Response `200`

Success

- OauthStatus — The status of a REST API call. Only used when there is a failure to report.
  - `kind` string — The kind name
  - `code` integer — The HTTP error code.
  - `message_list` MessageResource[]
    - `message` string, required — If state is ERROR, a message describing the error.
    - `reason` string, required — If state is ERROR, a machine-readable snake-cased string.
    - `details` object — Custom key-value details relevant to the status.
  - `state` string
  - `api_version` string

## Other responses

- `404` — Token not found
- `default` — Internal Error

---

[API](https://skmtc.net/nutanix/apis/nutanix-intentful-api.md) · [All operations](https://skmtc.net/nutanix/apis/nutanix-intentful-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/nutanix/nutanix-intentful-api/versions/40395083ab31/schema)
