Skip to content
Go to Boltz API

Delete protein library screen data

client.Protein.LibraryScreen.DeleteData(ctx, id) (*ProteinLibraryScreenDeleteDataResponse, error)
POST/compute/v1/protein/library-screen/{id}/delete-data

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

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

ID of the resource whose data was deleted

DataDeleted bool
DataDeletedAt Time

When the data was deleted

formatdate-time

Delete protein library screen 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.Protein.LibraryScreen.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"
}