---
title: "Invalidate OAuth refresh token"
method: DELETE
path: "/tyk/oauth/refresh/{keyName}"
tags: ["OAuth"]
---

# Invalidate OAuth refresh token

`DELETE /tyk/oauth/refresh/{keyName}`

It is possible to invalidate refresh tokens in order to manage OAuth client access more robustly.

## Path parameters

- `keyName` string, required

## Query parameters

- `api_id` string, required

## Response `200`

Deleted

- ApiModifyKeySuccess
  - `action` string
  - `key` string
  - `key_hash` string
  - `status` string

## Other responses

- `400` — missing api_Id query parameter
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal server error.

---

[API](https://skmtc.net/tyktechnologies/apis/tyk-gateway-api.md) · [All operations](https://skmtc.net/tyktechnologies/apis/tyk-gateway-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tyktechnologies/tyk-gateway-api/versions/4ae998d5545e/schema)
