DELETE
/machines/{machine_id}Delete a machine
Deletes a machine. Use its machine_id to identify the machine you want to remove. The response confirms deletion with the machine ID and a deleted value.
machine_idstringrequired
The ID of the machine to delete.
200Returns the deleted machine's ID, the object type `machine`, and `deleted: true`.
objectstringrequired
String representing the object's type.
idstringrequired
The ID of the deleted machine
deletedbooleanrequired
Whether the machine was successfully deleted
400Returned when the request is not successful.
errorsarray<object>required
metaobjectoptional
clerk_trace_idstringoptional
401Returned when authentication is invalid.
errorsarray<object>required
metaobjectoptional
clerk_trace_idstringoptional
403Returned when authorization is invalid.
errorsarray<object>required
metaobjectoptional
clerk_trace_idstringoptional
404Returned when the machine resource is not found.
errorsarray<object>required
metaobjectoptional
clerk_trace_idstringoptional
422Returned when request parameters are invalid.
errorsarray<object>required
metaobjectoptional
clerk_trace_idstringoptional
Error handling
A 400 indicates the request was not successful, a 401 indicates invalid authentication, a 403 indicates invalid authorization, a 404 indicates the resource was not found, and a 422 indicates invalid request parameters. The machine_id path parameter must identify a machine.