---
title: "Delete an OAuth client"
method: DELETE
path: "/v2/oauth-clients/{clientId}"
tags: ["Deprecated: Platform OAuth Clients"]
---

# Delete an OAuth client

`DELETE /v2/oauth-clients/{clientId}`

<Warning>These endpoints are deprecated and will be removed in the future.</Warning>

## Path parameters

- `clientId` string, required

## Headers

- `Authorization` string, required

## Response `200`

- GetOAuthClientResponseDto
  - `status` 'success' | 'error', required
  - `data` PlatformOAuthClientDto, required
    - `id` string, required
    - `name` string, required
    - `secret` string, required
    - `permissions` string[], required — Array of permission keys like ["BOOKING_READ", "BOOKING_WRITE"]
    - `logo` object
    - `redirectUris` string[], required
    - `organizationId` number, required
    - `createdAt` string, date-time, required
    - `areEmailsEnabled` boolean, required
    - `areDefaultEventTypesEnabled` boolean, required — If enabled, when creating a managed user the managed user will have 4 default event types: 30 and 60 minutes without Cal video, 30 and 60 minutes with Cal video. Leave this disabled if you want to create a managed user and then manually create event types for the user.
    - `areCalendarEventsEnabled` boolean, required — If true and if managed user has calendar connected, calendar events will be created. Disable it if you manually create calendar events. Default to true.
    - `bookingRedirectUri` string
    - `bookingCancelRedirectUri` string
    - `bookingRescheduleRedirectUri` string

---

[API](https://skmtc.net/calcom/apis/cal-diy-api-v2.md) · [All operations](https://skmtc.net/calcom/apis/cal-diy-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/calcom/cal-diy-api-v2/revisions/16de9d3eb7b3/schema)
