Skip to content

Disconnect the TestRail

DELETE
/v1/projects/{id}/integrations/testrail
curl --request DELETE \
--url https://beta-api.plune.ai/v1/projects/example/integrations/testrail \
--cookie plune_session=<plune_session>

Owner only. Erases the connection and the ciphertext of the key — the row is deleted, there is no soft delete (revoke the key in TestRail too). What was imported stays: it is the project’s data. A dry run or an import in progress finds no connection at its next step and ends cancelled. Recorded in the audit feed as a testrail_connection entry. Session cookie only.

id
required
string

An id from GET /v1/projects

Disconnected

No / invalid session — a CLI token is refused here

You are in the project, but not as its owner

Media type application/json
object
error
required
string
Example
{
"error": "project owner only"
}

No such project among yours, or no TestRail is connected

Media type application/json
object
error
required
string
Examples

No such project among yours

{
"error": "project 'u-shop::default' not found"
}

Rate-limited: the per-route throttle, or the per-minute request limit of the plan an API token counts by (#1442; the body names the plan, #2092). Retry-After carries the seconds until the window rolls over.

Media type application/json
object
error
required
string
Example generated
{
"error": "example"
}
Retry-After
integer

Seconds until the window rolls over

The server has no key to keep TestRail keys under

Media type application/json
object
error
required
string
Example
{
"error": "the TestRail bridge is not configured on this server - contact your operator"
}