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
Parameters
Name Type Required? Description
Response
This endpoint returns nothing.
Examples
Delete all suggestions
Python Bash Java
Copy suggestion = conn . experiments (EXPERIMENT_ID). suggestions (). delete ()
Copy SUGGESTION = ` curl -s -X DELETE https://api.sigopt.com/v1/experiments/EXPERIMENT_ID/suggestions -u "$SIGOPT_API_TOKEN" : `
Copy new Experiment(EXPERIMENT_ID) . suggestions () . deleteList () . call ();
Delete open suggestions
Python Bash Java
Copy suggestion = conn . experiments (EXPERIMENT_ID). suggestions (). delete (
state = "open"
)
Copy OPEN_SUGGESTIONS=`curl -s -X DELETE https://api.sigopt.com/v1/experiments/EXPERIMENT_ID/suggestions -u "$SIGOPT_API_TOKEN": \
-d state=open `
Copy new Experiment(EXPERIMENT_ID) . suggestions () . deleteList ()
. addParam ( "state" , "open" )
. call ();