Create Attribute

Use this API to create an attribute for the inventory schema.

Path Params
string
enum
required

Type of the inventory or schema. The supporting types are 'processing-activities', 'vendors', 'assets', and 'entities'.

Allowed:
Body Params
string
required

Name of the attribute

string
required

Description of the attribute

string
enum
required

Response type of the attribute

boolean
string

Formula expression for formula-type attributes

string

Key for the intake question

string

Question for Attribute

string

Question Description for Attribute

boolean
Defaults to false

Whether the attribute is required

context
object
string

Field name of the attribute (system-generated if not provided)

string
enum

Type of the attribute

string

Related inventory type where this attribute is tracked

string
enum

Response sub-type for the attribute

Allowed:
associatedAttributeRequest
object

Associated attribute request details for linked attributes

boolean
Defaults to false

Flag indicating if the attribute allows labels

abacBasicAssignmentInfo
object

GUID, name and the objectType of the linked assignment

Responses

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

500

Internal Server Error

Language
Credentials
OAuth2
Missing 2 required scopes
URL
LoadingLoading…
Response
Choose an example:
application/json
*/*