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.
bodyBodyfieldSystemLogExportDeleteParams
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
{}