dots.v2.agents.sessions.bySession_id().pause.post()
Generated on 5 Nov 2026
from DoTs version
v1.23.0
Usage
client.v2.agents.sessions.bySession_id(session_id).pause.post(requestConfiguration?: RequestConfiguration<object>): Promise<void>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
Path Parameters
session_idstring requiredExample:
a1b2c3d4-e5f6-7890-abcd-ef1234567890The session UUID.
Headers
X-Device-UUIDstring optionalExample:
device-uuid-exampleOptional hardware device id forwarded by doctl. Recorded for audit.
Request Sample
More Information
See /v2/agents/sessions/{session_id}/pause in the API reference for additional detail on responses, headers, parameters, and more.