POST
/
windows
/
pause
/
{instance_id}
Python (SDK)
import os
from skylight_sdk import Skylight


with Skylight(
    apikey=os.getenv("SKYLIGHT_APIKEY", ""),
) as skylight:

    res = skylight.windows.pause(instance_id="<id>")

    # Handle response
    print(res)
{
  "message": "<string>",
  "state": "<string>",
  "status": "<string>"
}

Authorizations

X-API-Key
string
header
required

API key authentication

Path Parameters

instance_id
string
required

Response

200
application/json

Instance hibernated successfully

The response is of type object.