Skip to content

Delete Bare Metal Instance

Initiate the permanent termination of a specified bare metal instance by providing its unique identifier in the request path.

HTTP Request

DELETE {API_URL}bare-metal/instances/{id}

Path Parameters

ParameterRequirementTypeDescription
idRequiredstringUnique identifier of the instance to be terminated

Response Structure

status boolean

Operation result indicator. Returns true for successful execution, false when encountering an error.

message string

Descriptive response indicating the outcome of the instance termination request.

Implementation Example

Request

bash
curl -X DELETE '{API_URL}bare-metal/instances/{id}' \
-H 'Authorization: Bearer {ACCESS_TOKEN}' \
-H 'refresh-token: {REFRESH_TOKEN}' \
-H 'Content-Type: application/json'

Response

json
{
    "status": true,
    "message": "Instance termination process initiated successfully"
}