Python
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>" }
Requires API key authentication.
API key authentication
Instance hibernated successfully
The response is of type object.
object