delete()
Deletes a machine by its ID.
function delete(machineId: string): Promise<Machine>
- Name
machineId
- Type
string
- Description
The ID of the machine to delete.
const machineId = 'mch_123'
const response = await clerkClient.machines.delete(machineId)
Backend API (BAPI) endpoint
This method in the SDK is a wrapper around the BAPI endpoint DELETE/machines/{machine_id}
. See the BAPI reference for more information.
Feedback
Last updated on