List Credentials with Access to an Entrance
Returns a list of all credentials with access to a specified entrance.
Specify the acs_entrance_id
to return all credentials that grant access to the specified entrance.
Code
await seam.acs.entrances.listCredentialsWithAccess({
acs_entrance_id: "123e4567-e89b-12d3-a456-426614174000",
});
Output
[
{
"acs_credential_id": "123e4567-e89b-12d3-a456-426614174000",
"acs_user_id": "123e4567-e89b-12d3-a456-426614174000",
"acs_credential_pool_id": "123e4567-e89b-12d3-a456-426614174000",
"acs_system_id": "123e4567-e89b-12d3-a456-426614174000",
"parent_acs_credential_id": "123e4567-e89b-12d3-a456-426614174000",
"display_name": "text",
"code": "text",
"card_number": "text",
"is_issued": false,
"issued_at": "2024-10-15T12:54:04.155Z",
"access_method": "code",
"external_type": "pti_card",
"external_type_display_name": "text",
"created_at": "2024-10-15T12:54:04.155Z",
"workspace_id": "123e4567-e89b-12d3-a456-426614174000",
"starts_at": "text",
"ends_at": "text",
"is_multi_phone_sync_credential": false,
"is_latest_desired_state_synced_with_provider": false,
"latest_desired_state_synced_with_provider_at": "2024-10-15T12:54:04.155Z"
}
]
Request Parameters
acs_entrance_id
String (Required)
ID of the entrance for which you want to list all credentials that grant access.
include_if
Array of Enums
Conditions that credentials must meet to be included in the returned list.
Response
Array of acs_credentials
Examples
Last updated
Was this helpful?