---
title: "quarantineFilePath"
method: PUT
path: "/registry/{registry_ref}/quarantine"
tags: ["quarantine"]
---

# quarantineFilePath

`PUT /registry/{registry_ref}/quarantine`

quarantine file path

## Path parameters

- `registry_ref` string, required

## Request body

- QuarantineRequest
  - `filePath` string
  - `artifact` string, required
  - `version` string
  - `reason` string, required
  - `artifactType` string

## Response `200`

quarantine path response

- object
  - `status` 'SUCCESS' | 'FAILURE' | 'ERROR', required — Indicates if the request was successful or not
  - `data` QuarantinePath, required — quarantine path
    - `id` string, required
    - `registryId` integer, required
    - `artifactId` integer, required
    - `versionId` integer
    - `filePath` string
    - `reason` string, required

## Other responses

- `400` — Bad request
- `401` — Unauthenticated
- `403` — Unauthorized
- `500` — Internal server error

---

[API](https://skmtc.net/harness/apis/harness-artifact-registry-api.md) · [All operations](https://skmtc.net/harness/apis/harness-artifact-registry-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/harness/harness-artifact-registry-api/revisions/e315ed26a2f1/schema)
