Create
Create Attribute Value
client.attributes.create(AttributeCreateParamsbody?, RequestOptionsoptions?): valueAttributeValueAttributeCreateResponse
post/api/v1/attributes
Create a new attribute value.
Parameters
bodyattributeTypeIdstringvaluestringAttributeCreateParams
Returns
AttributeCreateResponse
CreateAttributeValueResponse is the response for creating an attribute value.
Request example TypeScript
import ConductoroneSDK from 'conductorone-sdk';
const client = new ConductoroneSDK({
apiKey: 'My API Key',
});
const attribute = await client.attributes.create();
console.log(attribute.value);200 Example
{
"value": {
"id": "id",
"attributeTypeId": "attributeTypeId",
"value": "value"
}
}