Skip to content
  • Auto
  • Light
  • Dark
Get Started

Delete

Delete
client.SystemLog.Exports.Delete(ctx, exportID, body) (*SystemLogExportDeleteResponse, error)
delete/api/v1/systemlog/exports/{export_id}

Delete a policy by ID.

Parameters
exportIDstring

The exportId field.

Hide ParametersShow Parameters
Bodyfield
optional
param.Field[any]

The ExportServiceDeleteRequest message.

Returns
SystemLogExportDeleteResponseinterface

The ExportServiceDeleteResponse message.

Request example Go
package main

import (
  "context"
  "fmt"

  "github.com/stainless-sdks/-go"
  "github.com/stainless-sdks/-go/option"
)

func main() {
  client := conductoronesdk.NewClient(
    option.WithAPIKey("My API Key"),
  )
  export, err := client.SystemLog.Exports.Delete(
    context.TODO(),
    "export_id",
    conductoronesdk.SystemLogExportDeleteParams{

    },
  )
  if err != nil {
    panic(err.Error())
  }
  fmt.Printf("%+v\n", export)
}
200 Example
{}