Skip to content
Go to Boltz API

Delete small molecule design run data

client.SmallMolecule.Design.DeleteData(ctx, id) (*SmallMoleculeDesignDeleteDataResponse, error)
POST/compute/v1/small-molecule/design/{id}/delete-data

Permanently delete the input, output, and result data associated with this design run. The design run record itself is retained with a data_deleted_at timestamp. This action is irreversible.

ParametersExpand Collapse
id string
ReturnsExpand Collapse
type SmallMoleculeDesignDeleteDataResponse struct{…}
ID string

ID of the resource whose data was deleted

DataDeleted bool
DataDeletedAt Time

When the data was deleted

formatdate-time

Delete small molecule design run 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.SmallMolecule.Design.DeleteData(context.TODO(), "id")
  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"
}