Add Custom Attributes to the User Model
To customize the User model, navigate to the Custom attributes menu and then select the User model. Currently, it is possible to extend only the User model. In future releases we will add the same capabilities to other models.
- Attribute ID: A string that consists of letters (a-zA-Z), numbers (0-9), dashes, and underscores. This is used to reference the attribute in the Admin APIs screen.
- Attribute Label: The attribute’s name that is displayed in the UI.
- Description: Explains the intended usage of this attribute. It is also displayed in the UI.
- Type of attribute: The type of data that can be stored in this attribute. You cannot change the value of this field once the attribute is created. The following data types are acceptable:
- Boolean (true or false).
- Dropdown (a list of values).
- String.
- Number.
- Validation Reg Exp: A regular expression that is used to validate the value of this field. It is available for the String data type only.
- Enable validation: Determines if the portal should apply the regular expression defined in the Validation Reg Exp to validate the value of this attribute when creating or updating a user profile. It is available for the String data type only.
- Dropdown Values: A list of values for the attribute. It is available for the Dropdown data type only.
- Fields that define the attribute’s behavior:
- Write once read many: Determines whether the value of the attribute can be changed after a user profile is created. This means that when Write once read many is enabled, the value of this attribute can be set only during the creation of a user profile. After the user profile is created, the value of this attribute cannot be edited, either through the admin APIs or via the Users UI.
- Add to the key metadata: Determines if the value of the attribute should be added to the metadata of Auth keys or OAuth2.0 clients when a user creates them. Keep in mind that credential-level metadata will be accessible in both the gateway runtime and gateway database. Please be cautious when handling personally identifiable information (PII) data.
- Required: Determines if this attribute is required to create a user profile.
- Show on sign-up form: Determines if this attribute should be visible in the sing-up form.
- Behavior: Determines if developers can view or edit this attribute. Possible values are:
- Developers can view and edit the attribute.
- Developers can only view the attribute.
- Developers cannot see the attribute.


Default Attributes of User Model
By default, the portal assigns the following attributes to credentials metadata in the gateway when provisioning API credentials:Attribute | Name of the credential metadata field | Description |
---|---|---|
Developer ID | DeveloperID | ID of the developer who created the credential |
Application ID | ApplicationID | ID of the application to which it belongs |
Organisation ID | OrganisationID | ID of the organization to which the developer who created the application belongs |
Team IDs | TeamIDs | Array of team IDs to which the developer, who created the application, belongs |
Attribute | Name of the credential metadata field | Description |
---|---|---|
First name | First | First name of the developer who created the credential |
Last name | Last | Last name of the developer who created the credential |
Email name of the developer who created the credential | ||
Role | Role | Array of team IDs to which the developer, who created the application, belongs |
Organisation name | Organisation | Name of the organization to which the developer who created the application belongs |
Teams name | TeamNames | Array of team names to which the developer, who created the application, belongs |