Create
Create Compliance Framework Attribute Value
client.Attributes.ComplianceFrameworks.New(ctx, body) (*ValueAttributeValueAttributeComplianceFrameworkNewResponse, error)
post/api/v1/attributes/compliance_frameworks
Create a compliance framework value.
Parameters
bodyValuefieldAttributeComplianceFrameworkNewParams
Returns
AttributeComplianceFrameworkNewResponsestruct
The CreateComplianceFrameworkAttributeValueResponse 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"),
)
complianceFramework, err := client.Attributes.ComplianceFrameworks.New(context.TODO(), conductoronesdk.AttributeComplianceFrameworkNewParams{
})
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", complianceFramework.Value)
}
200 Example
{
"value": {
"id": "id",
"attributeTypeId": "attributeTypeId",
"value": "value"
}
}