v5

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-211355122.6 KB

Cleanup Schedule Session

Immediately remove a session and request cancellation of its active work.

Args: schedule_id: Unique identifier of the session to clean up.

Returns: A cleanup confirmation message for the supplied identifier.

Raises: None for missing sessions; cleanup is intentionally idempotent.

Behavior: Existing sessions are synchronously removed through cleanup_session; unknown identifiers still receive the same success-shaped response. Running thread-pool work may finish internally after its future is cancelled, but its session is no longer addressable.

post/schedules/{schedule_id}/cleanup

Path parameters

schedule_idstring required

Response

Successful Response

messagestring required