AI Photos (LoRAs)
Delete LoRA
Soft-archive a LoRA so it stops appearing in listings.
DELETE /v2/loras/:id
Soft delete — the LoRA's status becomes ARCHIVED. Any in-flight flux-lora job that already started keeps working, but the LoRA is hidden from listings by default and you should treat it as unusable for new generations.
To list archived LoRAs, pass includeArchived=true to GET /v2/loras.
Response — 204 No Content
No body.
Errors
| Code | When |
|---|---|
400 | Invalid LoRA id format. |
404 | LoRA doesn't exist or doesn't belong to your team. |