Skip to main content
POST
Quarantine a test

Authorizations

Authorization
string
header
required

User PAT (td_pat_) scoped to the target project

Path Parameters

projectId
string
required

The project identifier (e.g. project_abc123). Must match the project associated with your PAT.

Body

application/json
testId
string
required

Playwright test id

Maximum string length: 128
note
string
required

Why the test is quarantined.

Required string length: 1 - 1000
expiresAt
string<date-time>

At most 90 days ahead. Default: the project's default duration.

assignee
string

me, a user id, or a teammate's email. Default: the test's assignee, else you.

Maximum string length: 254
knownError
object

Cover only failures with this error; any other failure of the test still fails the build.

Response

The new quarantine

success
enum<boolean>
Available options:
true
data
object
Last modified on November 4, 2026