Suggestion List Delete
https://api.sigopt.com/v1/experiments/EXPERIMENT_ID/suggestions
Deletes multiple Suggestion objects. This action cannot be undone. Only
open
suggestions can be deleted, so if you experience errors, use the state
parameter.Request Method: DELETE
Name | Type | Required? | Description |
---|---|---|---|
state | string | N | Optional, but usually used. If open will only delete open suggestions. |
This endpoint returns nothing.
Python
Bash
Java
suggestion = conn.experiments(EXPERIMENT_ID).suggestions().delete()
SUGGESTION=`curl -s -X DELETE https://api.sigopt.com/v1/experiments/EXPERIMENT_ID/suggestions -u "$SIGOPT_API_TOKEN":`
new Experiment(EXPERIMENT_ID).suggestions().deleteList().call();
Python
Bash
Java
suggestion = conn.experiments(EXPERIMENT_ID).suggestions().delete(
state="open"
)
OPEN_SUGGESTIONS=`curl -s -X DELETE https://api.sigopt.com/v1/experiments/EXPERIMENT_ID/suggestions -u "$SIGOPT_API_TOKEN": \
-d state=open`
new Experiment(EXPERIMENT_ID).suggestions().deleteList()
.addParam("state", "open")
.call();
Last modified 1yr ago