delete()
Deletes an by its ID. Returns a object.
function delete(oauthApplicationId: string): Promise<DeletedObject>
- Name
oauthApplicationId
(required)- Type
string
- Description
The ID of the OAuth application to delete.
const oauthApplicationId = 'oauthapp_123'
const response = await clerkClient.oauthApplications.delete(oauthApplicationId)
Backend API (BAPI) endpoint
This method in the SDK is a wrapper around the BAPI endpoint DELETE/oauth_applications/{oauth_application_id}
. See the BAPI reference for more information.
Feedback
Last updated on