Delete
Delete Attribute Value
client.Attributes.Delete(ctx, id, body) (*AttributeDeleteResponse, error)
delete/api/v1/attribute/{id}
Delete an attribute value by id.
Parameters
idstring
The id field.
bodyBodyfieldAttributeDeleteParams
Returns
AttributeDeleteResponseinterface
DeleteAttributeValueResponse is the empty response for deleting an attribute value.
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"),
)
attribute, err := client.Attributes.Delete(
context.TODO(),
"id",
conductoronesdk.AttributeDeleteParams{
},
)
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", attribute)
}
200 Example
{}