Suspend an Instance
You can suspend 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
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.
Response
A 202 message confirms that the instance is suspended.
Last updated
Was this helpful?