## Delete protein sequence redesign run data

`client.Protein.SequenceRedesign.DeleteData(ctx, id) (*ProteinSequenceRedesignDeleteDataResponse, error)`

**post** `/compute/v1/protein/sequence-redesign/{id}/delete-data`

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

### Parameters

- `id string`

### Returns

- `type ProteinSequenceRedesignDeleteDataResponse struct{…}`

  - `ID string`

    ID of the resource whose data was deleted

  - `DataDeleted bool`

    - `const ProteinSequenceRedesignDeleteDataResponseDataDeletedTrue ProteinSequenceRedesignDeleteDataResponseDataDeleted = true`

  - `DataDeletedAt Time`

    When the data was deleted

### Example

```go
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.SequenceRedesign.DeleteData(context.TODO(), "id")
  if err != nil {
    panic(err.Error())
  }
  fmt.Printf("%+v\n", response.ID)
}
```

#### Response

```json
{
  "id": "id",
  "data_deleted": true,
  "data_deleted_at": "2019-12-27T18:11:19.117Z"
}
```
