- Retrieve the user schema
Retrieves the user attribute schema for the tenant. This includes all fields configured in the admin console for the user schema.
- https://demo-sitehttps://demo-site/blaize/schema/users
curl -i -X GET \
https://demo-site/blaize/schema/users \
-b blaize_session=YOUR_API_KEY_HEREOK. Returns a list of schema fields.
The visibility of the schema field. This is used to determine who can see the field. By default, all fields are PUBLIC. Those fields are visible to all users.
The context of the schema field. It is used to group fields together into different contexts. By default, all fields are used in the null context.
The decision point of the schema field. It determines whether the field is used in the decision engine. If set to true, this field will be evaluated by the decision engine to influence the outcome of decisions. For example, a field marked as a decision point might be used to grant or deny access to a specific feature.
[ { "tenantId": "company", "subTenantId": "company|demo", "slug": "first-name", "visibility": "PUBLIC", "context": "ZUORA_BILLING", "label": "First Name", "required": true, "internal-description": "The first name of the user", "public-description": "The first name of the user", "validation-expression": "[a-z]+$", "input-type": "text", "select-options": "[ {key1: value1}, {key2: value2} ]", "range-start": 0, "range-end": 100, "range-step": 1, "decision-point": true, "publicly-writable": true, "form-use": false } ]