# Resume an Instance

You can resume a suspended Cube server specified by its ID.

{% hint style="warning" %}
**Warning:** When you suspend an instance, the allocated resources continue to be billed; only deleted resources are not billed.
{% endhint %}

## Endpoint

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

## Request

{% hint style="info" %}
**Note:** The following request contains sample values. Remember to replace them with the relevant information.
{% endhint %}

```bash
curl -X 'POST' \
  'https://api.ionos.com/cloudapi/v6/datacenters/{datacenterId}/servers/{serverId}/resume' \
  -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 resumed.
