Delete Project
client.Projects.Delete(ctx, projectID, body) error
DELETE/api/v2/projects/{project_id}
Delete Project
package main
import (
"context"
"github.com/run-llama/llamacloud-admin-go"
"github.com/run-llama/llamacloud-admin-go/option"
)
func main() {
client := llamacloudadmin.NewClient(
option.WithAPIKey("My API Key"),
)
err := client.Projects.Delete(
context.TODO(),
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
llamacloudadmin.ProjectDeleteParams{
},
)
if err != nil {
panic(err.Error())
}
}