List Credentials
POST /acs/credentials/list ⇒ { acs_credentials: [acs_credential, …] }
Returns a list of all credentials.
Request
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,
});
Response
[
{
"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
}
]
Request
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,
)
Response
[
AcsCredential(
acs_credential_id="99999999-9999-9999-9999-999999999999",
acs_user_id="33333333-3333-3333-3333-333333333333",
display_name="Multi Phone Sync Credential",
code=None,
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,
)
]
Request
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)
Response
[{"acs_credential_id" => "99999999-9999-9999-9999-999999999999", "acs_user_id" => "33333333-3333-3333-3333-333333333333", "display_name" => "Multi Phone Sync Credential", "code" => nil, "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}]
Request
<?php
$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
);
Response
[["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]]
Request
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
Response
[
{
"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
}
]
Request
package main
import api "github.com/seamapi/go"
import credentials "github.com/seamapi/go/credentials"
func main() {
client.Acs.Credentials.List(
context.Background(),
credentials.CredentialsListRequest{
AcsUserId: api.String("33333333-3333-3333-3333-333333333333"),
AcsSystemId: api.String("11111111-1111-1111-1111-111111111111"),
UserIdentityId: api.String("22222222-2222-2222-2222-222222222222"),
IsMultiPhoneSyncCredential: api.Bool(true),
},
)
}
Response
[]api.AcsCredential{api.AcsCredential{AcsCredentialId: "99999999-9999-9999-9999-999999999999", AcsUserId: "33333333-3333-3333-3333-333333333333", DisplayName: "Multi Phone Sync Credential", Code: nil, AcsSystemId: "11111111-1111-1111-1111-111111111111", AccessMethod: "mobile_key", WorkspaceId: "00000000-0000-0000-0000-000000000000", CreatedAt: "2024-04-12T03:56:22.396Z", IsMultiPhoneSyncCredential: true}}
Request Parameters
Return Type
Array<acs_credential>
Last updated