DELETE
/
lora
/
{name}
curl --request DELETE \
  --url https://app.empower.dev/api/v1/lora/{name} \
  --header 'Authorization: Bearer <token>'
{
  "active_deployment": {
    "base_model_name": "meta-llama/Llama-2-7b-chat-hf",
    "created_at": 1706652711,
    "creator": {
      "actor_type": "USER",
      "api_key": {
        "name": "<string>"
      },
      "user": {
        "email": "<string>",
        "first_name": "<string>",
        "last_name": "<string>",
        "profile_image_url": "<string>"
      }
    },
    "hf_revision": "c1b0db933684edbfe29a06fa47eb19cc48025e93",
    "model_name": "IlyaGusev/saiga_mistral_7b_lora",
    "model_source": "HF_HUB"
  },
  "name": "custom_mistral_7b_lora",
  "unit_price": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

name
string
required

Name of the LoRA

Response

200
application/json
Lora is deleted successfully.
name
string
required

Name of the LoRA, used as the unique identifier.

unit_price
number
required
active_deployment
object

Current active deployment of the LoRA.