Logo
OpenScaler

Delete a VM

Delete VM with given ID

DELETE
/v1/vms/{vm_id}

Authorization

AuthorizationRequiredBearer <token>

OAuth Authentication

OpenScaler API uses OAuth, a standard for secure authorization. To access the API, obtain a token via the OpenScaler Platform.

Use the access_token in the Authorization header for requests:

Authorization: Bearer <token>

Always keep your token secure and do not share it with anyone.

In: header

Path Parameters

vm_idRequiredstring

A unique identifier for a VM instance.

curl -X DELETE "https://api.alpha.openscaler.net/v1/vms/23" \
  -H "Authorization: Bearer <token>"

VM deleted successfully

null