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

Parameters

NameTypeRequired?Description
statestringNOptional, but usually used. If open will only delete open suggestions.

Response

This endpoint returns nothing.

Examples

Delete all suggestions

suggestion = conn.experiments(EXPERIMENT_ID).suggestions().delete()

Delete open suggestions

suggestion = conn.experiments(EXPERIMENT_ID).suggestions().delete(
  state="open"
  )