Grant an ACS User Access to an Entrance
Grants a specified access system user access to a specified access system entrance.
Grants a specified access system user access to a specified access system entrance, using the associated user identity.
Code:
await seam.acs.entrances.grantAccess({
acs_entrance_id: "d23d7180-c1ee-4bbe-8630-05df5031ce35",
user_identity_id: "c6247b75-f1cb-493a-9915-a85a0b9639ae",
});Output:
// voidGrants a specified access system user access to a specified access system entrance, using the associated user identity.
Code:
curl --include --request POST "https://connect.getseam.com/acs/entrances/grant_access" \
--header "Authorization: Bearer $SEAM_API_KEY" \
--json @- <<EOF
{
"acs_entrance_id": "d23d7180-c1ee-4bbe-8630-05df5031ce35",
"user_identity_id": "c6247b75-f1cb-493a-9915-a85a0b9639ae"
}
EOFOutput:
{}Grants a specified access system user access to a specified access system entrance, using the associated user identity.
Code:
seam.acs.entrances.grant_access(
acs_entrance_id="d23d7180-c1ee-4bbe-8630-05df5031ce35",
user_identity_id="c6247b75-f1cb-493a-9915-a85a0b9639ae",
)Output:
NoneGrants a specified access system user access to a specified access system entrance, using the associated user identity.
Code:
seam.acs.entrances.grant_access(
acs_entrance_id: "d23d7180-c1ee-4bbe-8630-05df5031ce35",
user_identity_id: "c6247b75-f1cb-493a-9915-a85a0b9639ae",
)Output:
nilGrants a specified access system user access to a specified access system entrance, using the associated user identity.
Code:
$seam->acs->entrances->grant_access(
acs_entrance_id: "d23d7180-c1ee-4bbe-8630-05df5031ce35",
user_identity_id: "c6247b75-f1cb-493a-9915-a85a0b9639ae"
);Output:
Grants a specified access system user access to a specified access system entrance, using the associated user identity.
Code:
seam acs entrances grant-access --acs_entrance_id "d23d7180-c1ee-4bbe-8630-05df5031ce35" --user_identity_id "c6247b75-f1cb-493a-9915-a85a0b9639ae"Output:
{}Request Parameters
acs_entrance_id String (Required)
ID of the entrance to which you want to grant an access system user access.
acs_user_id String
ID of the access system user to whom you want to grant access to an entrance. 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 grant access to an entrance. 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 access group membership belongs to the ACS user. If the ACS system does not have a corresponding ACS user, one is created.
Response
void
Examples
Grant an access system user access to an entrance
Grants a specified access system user access to a specified access system entrance.
Code:
await seam.acs.entrances.grantAccess({
acs_entrance_id: "d23d7180-c1ee-4bbe-8630-05df5031ce35",
acs_user_id: "ace1dabe-7a25-4271-8d76-50e74ee4ae1f",
});Output:
// voidCode:
curl --include --request POST "https://connect.getseam.com/acs/entrances/grant_access" \
--header "Authorization: Bearer $SEAM_API_KEY" \
--json @- <<EOF
{
"acs_entrance_id": "d23d7180-c1ee-4bbe-8630-05df5031ce35",
"acs_user_id": "ace1dabe-7a25-4271-8d76-50e74ee4ae1f"
}
EOFOutput:
{}Code:
seam.acs.entrances.grant_access(
acs_entrance_id="d23d7180-c1ee-4bbe-8630-05df5031ce35",
acs_user_id="ace1dabe-7a25-4271-8d76-50e74ee4ae1f",
)Output:
NoneCode:
seam.acs.entrances.grant_access(
acs_entrance_id: "d23d7180-c1ee-4bbe-8630-05df5031ce35",
acs_user_id: "ace1dabe-7a25-4271-8d76-50e74ee4ae1f",
)Output:
nilCode:
$seam->acs->entrances->grant_access(
acs_entrance_id: "d23d7180-c1ee-4bbe-8630-05df5031ce35",
acs_user_id: "ace1dabe-7a25-4271-8d76-50e74ee4ae1f"
);Output:
Code:
seam acs entrances grant-access --acs_entrance_id "d23d7180-c1ee-4bbe-8630-05df5031ce35" --acs_user_id "ace1dabe-7a25-4271-8d76-50e74ee4ae1f"Output:
{}Last updated
Was this helpful?

