Skip to content
  • Auto
  • Light
  • Dark
Get Started

Delete

Delete Risk Level Attribute Value
client.Attributes.RiskLevels.Delete(ctx, id, body) (*AttributeRiskLevelDeleteResponse, error)
delete/api/v1/attributes/risk_levels/{id}

Delete a risk level attribute value by id.

Parameters
idstring

The id field.

Hide ParametersShow Parameters
Bodyfield
optional
param.Field[any]

The DeleteRiskLevelAttributeValueRequest message.

Returns
AttributeRiskLevelDeleteResponseinterface

The DeleteRiskLevelAttributeValueResponse 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"),
  )
  riskLevel, err := client.Attributes.RiskLevels.Delete(
    context.TODO(),
    "id",
    conductoronesdk.AttributeRiskLevelDeleteParams{

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