model_store.delete
Note
This document has been machine translated.
Deletes the Model Store.
This method deletes all citations associated with the specified Model Store.
If you want to retain the Model Store or citation information, do not use this method; instead, use model_store.model.delete.
Parameters
- model_store_ddc (
string): The name of the Model Store. - raise_if_no_exists (
boolean): Specifies the behavior when the specified Model Store does not exist. This parameter is optional. If omitted, it defaults totrue.true(boolean): Raises an error if the Model Store does not exist.false(boolean): Does nothing if the Model Store does not exist.
Return Value
Returns 1 if the Model Store is deleted.
If false is specified for raise_if_no_exists, returns 0 if the Model Store does not exist.
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"
}