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:
seam.acs.credentials.assign(
user_identity_id="1082e2e8-ecbd-4ef1-aa61-a805f7ae2f01",
acs_credential_id="59c9af06-7881-46d2-8d9b-3eda964c058b",
)Output:
NoneAssigns a specified credential to a specified access system user, using the associated user identity.
Code:
seam.acs.credentials.assign(
user_identity_id: "1082e2e8-ecbd-4ef1-aa61-a805f7ae2f01",
acs_credential_id: "59c9af06-7881-46d2-8d9b-3eda964c058b",
)Output:
nilAssigns a specified credential to a specified access system user, using the associated user identity.
Code:
$seam->acs->credentials->assign(
user_identity_id: "1082e2e8-ecbd-4ef1-aa61-a805f7ae2f01",
acs_credential_id: "59c9af06-7881-46d2-8d9b-3eda964c058b"
);Output:
Assigns a specified credential to a specified access system user, using the associated user identity.
Code:
seam acs credentials assign --user_identity_id "1082e2e8-ecbd-4ef1-aa61-a805f7ae2f01" --acs_credential_id "59c9af06-7881-46d2-8d9b-3eda964c058b"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
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:
// voidCode:
curl --include --request POST "https://connect.getseam.com/acs/credentials/assign" \
--header "Authorization: Bearer $SEAM_API_KEY" \
--json @- <<EOF
{
"acs_user_id": "143f083a-d61c-4d85-923f-d5483fb5a7d4",
"acs_credential_id": "59c9af06-7881-46d2-8d9b-3eda964c058b"
}
EOFOutput:
{}Code:
seam.acs.credentials.assign(
acs_user_id="143f083a-d61c-4d85-923f-d5483fb5a7d4",
acs_credential_id="59c9af06-7881-46d2-8d9b-3eda964c058b",
)Output:
NoneCode:
seam.acs.credentials.assign(
acs_user_id: "143f083a-d61c-4d85-923f-d5483fb5a7d4",
acs_credential_id: "59c9af06-7881-46d2-8d9b-3eda964c058b",
)Output:
nilCode:
$seam->acs->credentials->assign(
acs_user_id: "143f083a-d61c-4d85-923f-d5483fb5a7d4",
acs_credential_id: "59c9af06-7881-46d2-8d9b-3eda964c058b"
);Output:
Code:
seam acs credentials assign --acs_user_id "143f083a-d61c-4d85-923f-d5483fb5a7d4" --acs_credential_id "59c9af06-7881-46d2-8d9b-3eda964c058b"Output:
{}Last updated
Was this helpful?

