---
title: "Delete an OAuth client"
method: DELETE
path: "/webhook_subscriptions/oauth_clients/{id}"
tags: ["Webhooks"]
---

# Delete an OAuth client

`DELETE /webhook_subscriptions/oauth_clients/{id}`

Delete an OAuth client. This will also remove the OAuth client association from any webhook subscriptions using it.

Requires admin or owner role permissions.

## Path parameters

- `id` string, required

## Headers

- `Accept` string, required
- `Content-Type` 'application/json', required

## Response `204`

OAuth client deleted successfully

## Other responses

- `401` — Caller did not supply credentials or did not provide the correct credentials. If you are using an API key, it may be invalid or your Authorization header may be malformed.
- `403` — Caller is not authorized to view the requested resource. While your authentication is valid, the authenticated user or token does not have permission to perform this action.
- `404` — The requested resource was not found.

---

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