---
title: "Archive a LoRA"
method: DELETE
path: "/v2/loras/{id}"
tags: ["LoRAs"]
---

# Archive a LoRA

`DELETE /v2/loras/{id}`

## Request

- Base URL: `https://api.apiframe.ai`
- URL: `https://api.apiframe.ai/v2/loras/{id}`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

Soft-delete (status flipped to `ARCHIVED`). Best-effort cleanup of the upstream destination model on the trainer. Idempotent — deleting an already-archived LoRA also returns 204.

## Path parameters

- `id` string, uuid, required

## Response `204`

Archived.

## Other responses

- `400`: `id` is not a valid UUID.
- `401`: Authentication failed (missing / invalid API key).
- `403`: Authenticated but the API key is inactive or lacks permission.
- `404`: LoRA not found, or owned by a different team.
- `429`: Rate limit exceeded. Retry after the `Retry-After` seconds.

---

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