コンテンツにスキップ

model_store.model.delete

モデルストアからモデルを削除します。

パラメータ

  • model_store_ddc (string): モデルストア名。
  • model_id (string): モデル ID。

戻り値

1 が戻されます。

実行例

リクエストデータ

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "model_store.model.delete",
  "params": {
    "model_store_ddc": "my_store",
    "model_id": "634e44c7-49b7-49ce-807c-cfd344fc3781"
  }
}

リクエスト実行

curl -H "Content-type: application/json" \
     -H "APIKey: 9c6f4574-89d1-4e3c-8af7-2549dc217fcf" \
     -H "Secret: aef8caingiej1ieNieJ3Phool4maeGohcies" \
     -X POST -d "@request.json" \
     https://localhost/api/v2/model_store/jsonrpc

レスポンス

{
  "result": 1,
  "id": 1,
  "jsonrpc": "2.0"
}