Unlink a test's ticket
Requires the Link tickets permission.
Removes the link between a test and its ticket. The ticket itself is not changed or closed in its provider. A test with no linked ticket is refused with 404 TICKET_NOT_LINKED, so a retry after a successful unlink answers that rather than 204.
A test in another organization is reported as 404 TEST_NOT_FOUND, not 403, and so is a malformed id.
Authorizations
An API key, sent as Authorization: Bearer <key>. An organization admin creates one in the Trunk app under Settings → Developer → API Keys and chooses the permissions it holds. A key with none can read merge queues but change nothing in them. Permissions cover merge queues and test-result uploads, including the quarantine lookups a CI run makes before it uploads; any key can call the other Flaky Tests and Dynamic CI endpoints, including their writes.
Path Parameters
Response
The ticket was unlinked