pydo.harness.delete_session()

Generated on 13 Nov 2026 from pydo version v0.46.0

Usage

client.harness.delete_session(
    session_id="a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    x_device_uuid=None,
)
Returns None Raises HttpResponseError

Description

Persistent workspace contents are retained per tenant policy. A persistent workspace the session holds is saved and kept: it goes to RELEASING while the files are saved and then back to AVAILABLE. Creating a session on that workspace returns 409 until it is AVAILABLE again. Returns 204 No Content on success.

Parameters

session_id string required

Example: a1b2c3d4-e5f6-7890-abcd-ef1234567890

The session UUID.

x_device_uuid string optional

Example: device-uuid-example

Optional hardware device id forwarded by doctl. Recorded on the session row as the device that performed the destroy.

More Information

See /v2/agents/sessions/{session_id} in the API reference for additional detail on responses, headers, parameters, and more.

We can't find any results for your search.

Try using different keywords or simplifying your search terms.