Skip to content

model_store.model.delete

Note

This document has been machine translated.

Deletes a model from the Model Store.

Parameters

  • model_store_ddc (string): The name of the Model Store.
  • model_id (string): The model ID.

Return Value

Returns 1.

Example

Request Data

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

Request Execution

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

Response

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