Suspend an Instance
Last updated
Was this helpful?
You can suspend the specified Cubes instance within a data center.
The instance is not deleted and allocated resources continue to be billed.
Use the following endpoint for Cubes: https://api.ionos.com/cloudapi/v6/datacenters/{datacenterId}/servers
Note: The following request contains sample values. Remember to replace them with the relevant information.
curl -X 'POST' \
'https://api.ionos.com/cloudapi/v6/datacenters/{datacenterId}/servers/{serverId}/suspend' \
-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.
A 202 message confirms that the instance is suspended.
Last updated
Was this helpful?
Was this helpful?