## Delete Secret

`client.Secrets.Delete(ctx, secretID) error`

**delete** `/v5/sgp/secrets/{secret_id}`

Delete a secret from both the cloud provider and SGP metadata.

### Parameters

- `secretID string`

### Example

```go
package main

import (
  "context"

  "github.com/scaleapi/sgp-dev-go"
  "github.com/scaleapi/sgp-dev-go/option"
)

func main() {
  client := sgpdev.NewClient(
    option.WithAPIKey("My API Key"),
    option.WithAccountID("My Account ID"),
  )
  err := client.Secrets.Delete(context.TODO(), "secret_id")
  if err != nil {
    panic(err.Error())
  }
}
```
