---
title: "Delete OAuth client"
method: DELETE
path: "/tyk/oauth/clients/{apiID}/{keyName}"
tags: ["OAuth"]
---

# Delete OAuth client

`DELETE /tyk/oauth/clients/{apiID}/{keyName}`

Please note that tokens issued with the client ID will still be valid until they expire.

## Path parameters

- `apiID` string, required
- `keyName` string, required

## Response `200`

OAuth client deleted

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

## Other responses

- `403` — Forbidden
- `404` — Not found
- `500` — Internal server error.

## Changes

- **2024-09-18** `111affa17abe` — 3 info
  - added the non-success response with the status `403`
  - added the non-success response with the status `404`
  - added the non-success response with the status `500`
- **2022-05-24** `111d8ca21864` — 1 warning, 3 info
  - for the `path` request parameter `apiID`, the min was set to `1.00`
  - removed the non-success response with the status `403`
  - removed the non-success response with the status `404`
  - removed the non-success response with the status `500`

[Change history](https://skmtc.dev/tyktechnologies/apis/tyk-gateway-api/changes/tyk/oauth/clients/:apiID/:keyName/delete.md)

---

[API](https://skmtc.dev/tyktechnologies/apis/tyk-gateway-api.md) · [All operations](https://skmtc.dev/tyktechnologies/apis/tyk-gateway-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tyktechnologies/tyk-gateway-api/revisions/900d0a33ae1d/schema)
