The user_identity Object
Represents a user identity associated with an application user account.- User Identity
A user identity resource.
Properties
acs_user_ids List of UUIDs
Array of access system user IDs associated with the user identity.
created_at Datetime
Date and time at which the user identity was created.
display_name String
email_address String
Unique email address for the user identity.
errors List of Objects
Array of errors associated with the user identity. Each error object within the array contains fields like “error_code” and “message.” “error_code” is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. “message” provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it.
The specific structure of each object in this list depends on the value of its error_code field.
Variants:
full_name String
phone_number String
Unique phone number for the user identity in E.164 format (for example, +15555550100).
user_identity_id UUID
ID of the user identity.
user_identity_key String
Unique key for the user identity.
warnings List of Objects
Array of warnings associated with the user identity. Each warning object within the array contains two fields: “warning_code” and “message.” “warning_code” is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. “message” provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it.
The specific structure of each object in this list depends on the value of its warning_code field.
Variants:
workspace_id UUID
ID of the workspace that contains the user identity.
Errors
issue_with_acs_user
Indicates that there is an issue with an access system user associated with this user identity.
Warnings
acs_user_profile_does_not_match_user_identity
Indicates that the ACS user’s profile does not match the user identity’s profile
being_deleted
Indicates that the user identity is currently being deleted.
Endpoints
/user_identities/add_acs_user
Adds a specified access system user to a specified user identity.
/user_identities/create
Creates a new user identity.
/user_identities/delete
Deletes a specified user identity. This deletes the user identity and all associated resources, including any credentials, acs users and client sessions.
/user_identities/generate_instant_key
Generates a new instant key for a specified user identity.
/user_identities/get
Returns a specified user identity.
/user_identities/grant_access_to_device
Grants a specified user identity access to a specified device.
/user_identities/list
Returns a list of all user identities.
/user_identities/list_accessible_devices
Returns a list of all devices associated with a specified user identity. This includes devices derived from the access grants assigned to the user identity and devices directly linked to the user identity.
/user_identities/list_accessible_entrances
Returns a list of all ACS entrances accessible to a specified user identity. This includes entrances derived from the access grants assigned to the user identity and entrances accessible through ACS users linked to the user identity.
/user_identities/list_acs_systems
Returns a list of all access systems associated with a specified user identity.
/user_identities/list_acs_users
Returns a list of all access system users assigned to a specified user identity.
/user_identities/remove_acs_user
Removes a specified access system user from a specified user identity.
/user_identities/revoke_access_to_device
Revokes access to a specified device from a specified user identity.
/user_identities/update
Updates a specified user identity.
