Get attribute definition
Get attribute definition
Get the specified attribute definition from the schema given its key.
Your workspace identifier.
"b4e02c85-c6d2-4b15-8885-e09671799c61"
The key of an attribute definition.
"company"
The attribute definition was returned successfully.
The UUID, primarily for internal reference
"123e4567-e89b-12d3-a456-426614174000"
A user-specified key, primarily for client reference.
"countryCode"
A human-readable name of the attribute.
"Country Code"
A user-friendly description of the attribute.
"The country code of the contact."
The cardinality configures how many values belong to the single key.
The data type of the attribute.
A flag to indicate whether this attribute is considered personally identifiable information.
false
A flag to indicate whether this attribute may be updated after creation.
false
A flag to indicate whether this attribute is built-in. Built-in attributes are system-defined and cannot be updated or deleted by end-users.
false
A flag to indicate whether this attribute is archived.
false
The version number of the attribute definition.
1
An array of ACLs that define the access control for this attribute
Examples
Let's establish some of our data that will be used in the following examples:
Workspace ID: a1405560-c8d3-4b1a-877d-3f449ad95352
AccessKey: abcd
Attribute Definition Key: countryCode
Get an attribute definition
In this example, we're fetching the attribute definition by its key.
Last updated