# Console

This endpoint is used for getting remote access to a virtual machine's VNC

## Generate link

<mark style="color:blue;">`GET`</mark> `https://api.suble.io/projects/:projectId/vm/:vmId/console`

This endpoint will generate a 1 hour link that will allow any users with the link to manage the virtual machine console / vnc

#### Path Parameters

| Name      | Type   | Description                       |
| --------- | ------ | --------------------------------- |
| projectId | string | Unique Id for the project         |
| vmId      | string | Unique Id for the virtual machine |

#### Headers

| Name          | Type   | Description               |
| ------------- | ------ | ------------------------- |
| Authorization | string | User token or project key |

{% tabs %}
{% tab title="200 " %}

```
{
    "token": String,
    "link": String
}
```

{% endtab %}
{% endtabs %}
