Revoke ACS User Access to All Entrances
Revokes access to all entrances for a specified access system user.
Revokes access to all entrances for a specified access system user, using the associated user identity.
Code:
await seam.acs.users.revokeAccessToAllEntrances({
  user_identity_id: "aadb341e-6cd5-4c8b-9561-8f686f84160c",
  acs_system_id: "d42163f1-ac2d-4c15-a651-5f2e0007b297",
});Output:
// voidRevokes access to all entrances for a specified access system user, using the associated user identity.
Code:
curl --include --request POST "https://connect.getseam.com/acs/users/revoke_access_to_all_entrances" \
  --header "Authorization: Bearer $SEAM_API_KEY" \
  --json @- <<EOF
{
  "user_identity_id": "aadb341e-6cd5-4c8b-9561-8f686f84160c",
  "acs_system_id": "d42163f1-ac2d-4c15-a651-5f2e0007b297"
}
EOFOutput:
{}Revokes access to all entrances for a specified access system user, using the associated user identity.
Code:
seam.acs.users.revoke_access_to_all_entrances(
    user_identity_id="aadb341e-6cd5-4c8b-9561-8f686f84160c",
    acs_system_id="d42163f1-ac2d-4c15-a651-5f2e0007b297",
)Output:
NoneRevokes access to all entrances for a specified access system user, using the associated user identity.
Code:
seam.acs.users.revoke_access_to_all_entrances(
  user_identity_id: "aadb341e-6cd5-4c8b-9561-8f686f84160c",
  acs_system_id: "d42163f1-ac2d-4c15-a651-5f2e0007b297",
)Output:
nilRevokes access to all entrances for a specified access system user, using the associated user identity.
Code:
$seam->acs->users->revoke_access_to_all_entrances(
    user_identity_id: "aadb341e-6cd5-4c8b-9561-8f686f84160c",
    acs_system_id: "d42163f1-ac2d-4c15-a651-5f2e0007b297"
);Output:
Revokes access to all entrances for a specified access system user, using the associated user identity.
Code:
seam acs users revoke-access-to-all-entrances --user_identity_id "aadb341e-6cd5-4c8b-9561-8f686f84160c" --acs_system_id "d42163f1-ac2d-4c15-a651-5f2e0007b297"Output:
{}Request Parameters
acs_system_id String
ID of the access system for which you want to revoke access. You can only provide acs_system_id with user_identity_id.
acs_user_id String
ID of the access system user for whom you want to revoke access. You can only provide acs_user_id or user_identity_id.
user_identity_id String
ID of the user identity for whom you want to revoke access. You can only provide acs_user_id or user_identity_id.
Response
void
Examples
Revoke access to all entrances for an access system user
Revokes access to all entrances for a specified access system user.
Code:
await seam.acs.users.revokeAccessToAllEntrances({
  acs_user_id: "2520b7a7-5c5b-482e-9db2-11d02f4ea6ce",
});Output:
// voidCode:
curl --include --request POST "https://connect.getseam.com/acs/users/revoke_access_to_all_entrances" \
  --header "Authorization: Bearer $SEAM_API_KEY" \
  --json @- <<EOF
{
  "acs_user_id": "2520b7a7-5c5b-482e-9db2-11d02f4ea6ce"
}
EOFOutput:
{}Code:
seam.acs.users.revoke_access_to_all_entrances(
    acs_user_id="2520b7a7-5c5b-482e-9db2-11d02f4ea6ce"
)Output:
NoneCode:
seam.acs.users.revoke_access_to_all_entrances(acs_user_id: "2520b7a7-5c5b-482e-9db2-11d02f4ea6ce")Output:
nilCode:
$seam->acs->users->revoke_access_to_all_entrances(
    acs_user_id: "2520b7a7-5c5b-482e-9db2-11d02f4ea6ce"
);Output:
Code:
seam acs users revoke-access-to-all-entrances --acs_user_id "2520b7a7-5c5b-482e-9db2-11d02f4ea6ce"Output:
{}Last updated
Was this helpful?

