Create user attribute
Organization Admin permissions are required to use this endpoint.
Create a custom user attribute definition in your organization.
Authorizations
Can be either an Organization API Key or Personal Access Token (PAT).
Include in the Authorization header as: Bearer YOUR_TOKEN
Body
Display name shown in the Omni UI. Unique among the custom attributes in the organization, and may match the label of a system attribute.
Must not start with Omni and must not be one of the reserved connection labels: Host, Password, Database, Port, Schema, Connection Name.
1"Region"
Default value applied when no user-specific value is set. A single value when multiple_values is false, an array when it is true.
Strings are trimmed. Number attributes accept numbers or numeric strings and store them as strings. Numbers are converted to strings on receipt; send anything beyond the JSON safe integer range (2^53 - 1) as a string or it loses precision before Omni sees it. Null or a string that trims to empty means no default.
An empty array clears the default of a multi-valued attribute and is rejected for a single-valued attribute. A list member that trims to empty is rejected.
"us-east"
Response
User attribute definition created
Default value applied when no user-specific value is set. A single value when multiple_values is false, an array when it is true.
Strings are trimmed. Number attributes accept numbers or numeric strings and store them as strings. Numbers are converted to strings on receipt; send anything beyond the JSON safe integer range (2^53 - 1) as a string or it loses precision before Omni sees it. Null or a string that trims to empty means no default.
An empty array clears the default of a multi-valued attribute and is rejected for a single-valued attribute. A list member that trims to empty is rejected.
"us-east"
Display name shown in the Omni UI. Unique among the custom attributes in the organization, and may match the label of a system attribute.
Must not start with Omni and must not be one of the reserved connection labels: Host, Password, Database, Port, Schema, Connection Name.
1"Region"

