Delete an Instance

You can delete the specified Cubes instance within a data center.

Endpoint

Use the following endpoint for Cubes: https://api.ionos.com/cloudapi/v6/datacenters/{datacenterId}/servers

Request

Note: The following request contains sample values. Remember to replace them with the relevant information.

curl -X 'DELETE' \
  'https://api.ionos.com/cloudapi/v6/datacenters/{datacenterId}/servers/{serverId}' \
  -H 'accept: application/json'

To make authenticated requests to the API, the following fields are mandatory in the request header:

Name

Type

Description

datacenterId

string

The ID of the data center.

serverId

string

The ID of the Cube.

Response

A 202 message confirms that the instance is deleted.

Last updated

Was this helpful?