Assign a Credential to an ACS User
Assigns a specified credential to a specified access system user.
PATCH /acs/credentials/assign β 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 ACS user
Specify the desired acs_user_id
and acs_credential_id
to assign a credential to an ACS user.
Code
await seam.acs.credentials.assign({
acs_user_id: "33333333-3333-3333-3333-333333333333",
acs_credential_id: "66666666-6666-6666-6666-666666666666",
});
Output
// void
Last updated
Was this helpful?