## Delete Index `client.Beta.Indexes.Delete(ctx, indexID, body) error` **delete** `/api/v1/indexes/{index_id}` Delete an index. ### Parameters - `indexID string` - `body BetaIndexDeleteParams` - `OrganizationID param.Field[string]` - `ProjectID param.Field[string]` ### Example ```go package main import ( "context" "github.com/run-llama/llama-parse-go" "github.com/run-llama/llama-parse-go/option" ) func main() { client := llamacloudprod.NewClient( option.WithAPIKey("My API Key"), ) err := client.Beta.Indexes.Delete( context.TODO(), "index_id", llamacloudprod.BetaIndexDeleteParams{ }, ) if err != nil { panic(err.Error()) } } ```