pydo.harness.post_session_pause()
Generated on 6 Nov 2026
from pydo version
v0.45.0
Usage
client.harness.post_session_pause(
session_id="a1b2c3d4-e5f6-7890-abcd-ef1234567890",
x_device_uuid=None,
)Description
Supported on microvm-substrate sessions only; dewdrop/docker sessions return 501 Not Implemented. Paused sessions count against quota. Clients learn state via GetSession/ListSessions; no live session.updated event is emitted.
Parameters
session_idstring requiredExample:
a1b2c3d4-e5f6-7890-abcd-ef1234567890The session UUID.
x_device_uuidstring optionalExample:
device-uuid-exampleOptional hardware device id forwarded by doctl. Recorded for audit.
More Information
See /v2/agents/sessions/{session_id}/pause in the API reference for additional detail on responses, headers, parameters, and more.