Delete LLM Configurations¶
POST /api/v1/llm_cfg/delete
Overview¶
Batch delete one or more LLM application configurations.
Body Request Parameters¶
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| appIds | array | List of appIds to be deleted Allow empty: False |
Parameter Supplementary Description¶
Interface Description¶
Delete LLM applications in batch based on appIds.
Deletion Behavior¶
- Supports deleting multiple applications at once.
- The return value is a
{appId: name}mapping, indicating the applications actually deleted in this operation. - After deletion, downstream LLM statistics/access sides will be notified to synchronize the application's offline status.
Notes¶
- The current interface follows an idempotent deletion style.
- If a certain
appIddoes not exist or has already been deleted, it may not be included in the returned result. - The
clientTokenrecords of deleted applications will not be directly returned by this interface.
Request Example¶
curl 'https://openapi.truewatch.com/api/v1/llm_cfg/delete' \
-H 'DF-API-KEY: <DF-API-KEY>' \
-H 'Content-Type: application/json;charset=UTF-8' \
--data-raw '{"appIds":["llm_app_demo_v2"]}' \
--compressed