List Credentials
Returns a list of all credentials.
POST /acs/credentials/list β { acs_credentials: [acs_credential, β¦] }
Request Parameters
acs_system_id
String
ID of the access system for which you want to retrieve all credentials.
acs_user_id
String
ID of the access system user for which you want to retrieve all credentials.
created_before
String
Date and time, in ISO 8601 format, before which events to return were created.
is_multi_phone_sync_credential
Boolean
Indicates whether you want to retrieve only multi-phone sync credentials or non-multi-phone sync credentials.
limit
Number
Number of credentials to return.
user_identity_id
String
ID of the user identity for which you want to retrieve all credentials.
Response
Array of acs_credentials
{
JSON representation of acs_credential
}
Examples
List credentials
Filter the list of returned credentials by acs_user_id
, acs_system_id
, or user_identity_id
. You can also include is_multi_phone_sync_credential
.
Code
await seam.acs.credentials.list({
acs_user_id: "33333333-3333-3333-3333-333333333333",
acs_system_id: "11111111-1111-1111-1111-111111111111",
user_identity_id: "22222222-2222-2222-2222-222222222222",
is_multi_phone_sync_credential: true,
});
Output
[
{
"acs_credential_id": "99999999-9999-9999-9999-999999999999",
"acs_user_id": "33333333-3333-3333-3333-333333333333",
"display_name": "Multi Phone Sync Credential",
"code": null,
"acs_system_id": "11111111-1111-1111-1111-111111111111",
"access_method": "mobile_key",
"workspace_id": "00000000-0000-0000-0000-000000000000",
"created_at": "2024-04-12T03:56:22.396Z",
"is_multi_phone_sync_credential": true
}
]
Last updated
Was this helpful?