---
title: "Changes to Mark a test as quarantined"
method: POST
path: "/ci/{owner}/repositories/{repository}/quarantines"
---

# Changes to Mark a test as quarantined

`POST /ci/{owner}/repositories/{repository}/quarantines`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 13 of 55 revisions.

- **2026-10-22** `f0fe01773ba8`: 1 warning, 1 info
- **2026-10-21** `24834a2d3673`: 1 breaking, 1 info
- **2026-10-21** `b46b77eba26e`: 3 warning, 1 info
- **2026-10-20** `8669053cf863`: 1 warning, 1 info
- **2026-10-19** `a01b82176fba`: 1 info
- **2026-10-15** `be3a4ec70dcc`: 1 warning
- **2026-10-15** `0052b52c72ed`: 9 warning
- **2026-10-13** `282a2896fd48`: 5 info
- **2026-10-08** `708566d3689b`: 1 info
- **2026-10-03** `f0c50c78406a`: 1 breaking
- **2026-09-03** `0d03a872f0d1`: 1 info
- **2026-08-28** `b3864dcc206a`: 1 info
- **2026-08-13** `29857c6146cf`: 3 info

## Changes

- **2026-10-22** `f0fe01773ba8`: 1 warning, 1 info
  - added the new `TEST_STATE_OVERLAP` enum value to the `error_code` response property for the response status `400`
  - endpoint deprecated
- **2026-10-21** `24834a2d3673`: 1 breaking, 1 info
  - removed the media type `application/json` for the response with the status `409`
  - removed the `REPOSITORY_NOT_RECORDED` enum value from the `error_code` response property for the response status `400`
- **2026-10-21** `b46b77eba26e`: 3 warning, 1 info
  - added the new `PIPELINE_NAME_TAKEN` enum value to the `error_code` response property for the response status `400`
  - added the new `PIPELINE_NOT_FOUND` enum value to the `error_code` response property for the response status `400`
  - added the new `REPOSITORY_NOT_RECORDED` enum value to the `error_code` response property for the response status `400`
  - added the media type `application/json` for the response with the status `409`
- **2026-10-20** `8669053cf863`: 1 warning, 1 info
  - added the new `SUBSCRIPTION_API_UNAVAILABLE` enum value to the `error_code` response property for the response status `400`
  - removed the `SHADOW_OFFICE_UNAVAILABLE` enum value from the `error_code` response property for the response status `400`
- **2026-10-19** `a01b82176fba`: 1 info
  - added the new optional request property `issue_url`
- **2026-10-15** `be3a4ec70dcc`: 1 warning
  - added the new `SETTING_MANAGED_BY_ENV` enum value to the `error_code` response property for the response status `400`
- **2026-10-15** `0052b52c72ed`: 9 warning
  - added the new `CONFIGURATION_BRANCH_REFUSED` enum value to the `error_code` response property for the response status `400`
  - added the new `CONFIGURATION_REFUSED_BY_REPOSITORY_RULES` enum value to the `error_code` response property for the response status `400`
  - added the new `CONFIGURATION_SIGNED_COMMITS_REQUIRED` enum value to the `error_code` response property for the response status `400`
  - added the new `DEFAULT_BRANCH_NOT_FOUND` enum value to the `error_code` response property for the response status `400`
  - added the new `SETUP_ALREADY_DONE` enum value to the `error_code` response property for the response status `400`
  - added the new `SETUP_TOKEN_MISMATCH` enum value to the `error_code` response property for the response status `400`
  - added the new `SHADOW_OFFICE_UNAVAILABLE` enum value to the `error_code` response property for the response status `400`
  - added the new `SUBSCRIPTION_INACTIVE` enum value to the `error_code` response property for the response status `400`
  - added the new `SUBSCRIPTION_TOKEN_INVALID` enum value to the `error_code` response property for the response status `400`
- **2026-10-13** `282a2896fd48`: 5 info
  - added the new optional request property `branch_name`
  - added the new optional request property `job_name`
  - added the new optional request property `pipeline_name`
  - request property `branch` deprecated
  - added the non-success response with the status `400`
- **2026-10-08** `708566d3689b`: 1 info
  - added the new optional request property `unquarantine_when_healthy`
- **2026-10-03** `f0c50c78406a`: 1 breaking
  - the `branch/anyOf[subschema #1]/` request property's maxLength was decreased to `255`
- **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](https://skmtc.dev/mergify/apis/mergify-api/docs/ci/:owner/repositories/:repository/quarantines/post.md) · [API](https://skmtc.dev/mergify/apis/mergify-api.md) · [Page](https://skmtc.dev/mergify/apis/mergify-api/changes/ci/:owner/repositories/:repository/quarantines/post)
