Delete prediction data
client.Predictions.StructureAndBinding.DeleteData(ctx, id) (*PredictionStructureAndBindingDeleteDataResponse, error)
POST/compute/v1/predictions/structure-and-binding/{id}/delete-data
Permanently delete the input, output, and result data associated with this prediction. The prediction record itself is retained with a data_deleted_at timestamp. This action is irreversible.
Parameters
id string
Returns
Delete prediction data
package main
import (
"context"
"fmt"
"github.com/boltz-bio/boltz-api-go"
"github.com/boltz-bio/boltz-api-go/option"
)
func main() {
client := boltzapi.NewClient(
option.WithAPIKey("My API Key"),
)
response, err := client.Predictions.StructureAndBinding.DeleteData(context.TODO(), "sab_pred_2X7Ab9Cd3Ef6Gh1JkLmN")
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", response.ID)
}
{
"id": "id",
"data_deleted": true,
"data_deleted_at": "2019-12-27T18:11:19.117Z"
}Returns Examples
{
"id": "id",
"data_deleted": true,
"data_deleted_at": "2019-12-27T18:11:19.117Z"
}