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:
// voidAssigns a specified credential to a specified access system user, using the associated user identity.
Code:
curl --include --request POST "https://connect.getseam.com/acs/credentials/assign" \
--header "Authorization: Bearer $SEAM_API_KEY" \
--json @- <<EOF
{
"user_identity_id": "1082e2e8-ecbd-4ef1-aa61-a805f7ae2f01",
"acs_credential_id": "59c9af06-7881-46d2-8d9b-3eda964c058b"
}
EOFOutput:
{}Assigns a specified credential to a specified access system user, using the associated user identity.
Code:
Output:
Assigns a specified credential to a specified access system user, using the associated user identity.
Code:
Output:
Assigns a specified credential to a specified access system user, using the associated user identity.
Code:
Output:
Assigns a specified credential to a specified access system user, using the associated user identity.
Code:
Output:
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
Returns: void
Examples
Assign a credential to an access system user
Assigns a specified credential to a specified access system user.
Code:
Output:
Code:
Output:
Code:
Output:
Code:
Output:
Code:
Output:
Code:
Output:
Last updated
Was this helpful?

