Assign a Credential to an ACS User
Assigns a specified credential to a specified access system user.
Assigns a specified credential to a specified access system user, using the associated user identity.
Code
await seam.acs.credentials.assign({
user_identity_id: "1082e2e8-ecbd-4ef1-aa61-a805f7ae2f01",
acs_credential_id: "59c9af06-7881-46d2-8d9b-3eda964c058b",
});
Output
// void
Request Parameters
acs_credential_id
String (Required)
ID of the credential that you want to assign to an access system user.
acs_user_id
String
ID of the access system user to whom you want to assign a credential. You can only provide one of acs_user_id or user_identity_id.
user_identity_id
String
ID of the user identity to whom you want to assign a credential. You can only provide one of acs_user_id or user_identity_id. If the ACS system contains an ACS user with the same email_address
or phone_number
as the user identity that you specify, they are linked, and the credential belongs to the ACS user. If the ACS system does not have a corresponding ACS user, one is created.
Response
void
Examples
Assign a credential to an access system user
Assigns a specified credential to a specified access system user.
Code
await seam.acs.credentials.assign({
acs_user_id: "143f083a-d61c-4d85-923f-d5483fb5a7d4",
acs_credential_id: "59c9af06-7881-46d2-8d9b-3eda964c058b",
});
Output
// void
Last updated
Was this helpful?