v2

latestOpenAPI 3.0.02026-07-261859071.2 MB
Test sessions

Cancel a test session

Cancels in-progress Playwright runs within the specified test session. Use the optional sequenceId field in the request body to cancel only specific results within the session; omit it to cancel everything still running.

Returns 204 No Content once the cancellation requests have been dispatched. Returns 404 Not Found if the test session does not exist.

post/v1/test-sessions/{testSessionId}/cancel

Path parameters

testSessionIdstring uuid required

Test session ID.

Test session ID.

Headers

x-checkly-accountstring uuid

Your Checkly account ID, you can find it at https://app.checklyhq.com/settings/account/general

Your Checkly account ID, you can find it at https://app.checklyhq.com/settings/account/general

Request body

sequenceIdstring[]

Subset of sequence IDs to cancel. Omit to cancel all in-progress sequences.

Response

Cancellation accepted.