---
title: "Unquarantine a test"
method: DELETE
path: "/ci/{owner}/repositories/{repository}/quarantines/{quarantine_id}"
tags: ["test_insights"]
deprecated: true
---

# Unquarantine a test

`DELETE /ci/{owner}/repositories/{repository}/quarantines/{quarantine_id}`

## Request

- Base URL: `https://api.mergify.com/v1`
- URL: `https://api.mergify.com/v1/ci/{owner}/repositories/{repository}/quarantines/{quarantine_id}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer

> **Deprecated.**

Deprecated: use the test states API, `/ci/{owner}/repositories/{repository}/test-states`.

Unquarantine a test with its quarantine id

## Path parameters

- `quarantine_id` string, uuid, required
- `repository` string, required: The name of the repository
- `owner` string, required: The owner of the repository

## Response `200`

Successful Response

- unknown

## Other responses

- `204`: No content
- `403`: Forbidden
- `404`: Not found
- `409`: Conflict
- `422`: Unprocessable entity

## Changes

- **2026-10-22** `f0fe01773ba8`: 1 info
  - endpoint deprecated
- **2026-09-03** `0d03a872f0d1`: 1 info
  - the endpoint scheme security `CIApplicationKey` was removed from the API
- **2026-08-28** `b3864dcc206a`: 1 info
  - the endpoint scheme security `MergifyTokenBearerAuth` was added to the API
- **2026-08-13** `29857c6146cf`: 3 info
  - the endpoint scheme security `AdminApplicationKey` was added to the API
  - the endpoint scheme security `CIApplicationKey` was added to the API
  - the endpoint scheme security `ApplicationAuth` was removed from the API

[Operation history](https://skmtc.dev/mergify/apis/mergify-api/changes/ci/:owner/repositories/:repository/quarantines/:quarantine_id/delete.md)

---

[API](https://skmtc.dev/mergify/apis/mergify-api.md) · [All operations](https://skmtc.dev/mergify/apis/mergify-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mergify/apis/mergify-api/revisions/00b8f4a31190?raw)
