delete()
Deletes an API key by its ID. Returns a DeletedObjectResource object.
function delete(apiKeyId: string): Promise<DeletedObjectResource>- Name
apiKeyId- Type
string- Description
The ID of the API key to delete.
const apiKeyId = 'apikey_123'
const response = await clerkClient.apiKeys.delete(apiKeyId)Backend API (BAPI) endpoint
This method in the SDK is a wrapper around the BAPI endpoint DELETE/api_keys/{apiKeyID}. See the BAPI reference for more information.
Feedback
Last updated on