model_store.delete
Note
This document has been machine translated.
Deletes a model store.
This method deletes the specified model store and all associated citations. If you want to keep the model store and citation information, use model_store.model.delete instead of this method.
Parameters
- model_store_ddc:
string-- Model store name. - raise_if_no_exists:
boolean-- Specify what to do if the specified model store does not exist. This item may be omitted. If omitted,trueis returned.true-- If the model store does not exist, an error is returned.false-- do nothing if the model store does not exist.
Return Values
1 is returned if the model store is deleted.
If raise_if_no_exists is false, 0 is returned if the model store does not exist.
Execution example
Request Data
{
"id": 1,
"jsonrpc": "2.0",
"method": "dataset.delete",
"params": {
"dataset_name": "my_dataset"
}
}
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/dataset/jsonrpc
Response
{
"result": 1,
"id": 1,
"jsonrpc": "2.0"
}