Revoke Access to a Device from a User Identity
Revokes access to a specified device from a specified user identity.
Revokes access to a specified device from a specified user identity.
Code:
await seam.userIdentities.revokeAccessToDevice({
  user_identity_id: "a5a48343-a95e-4f51-a5d9-1e4241b73553",
  device_id: "92874f9e-a2b5-4d49-a039-0280196ad4d5",
});Output:
// voidRevokes access to a specified device from a specified user identity.
Code:
curl --include --request POST "https://connect.getseam.com/user_identities/revoke_access_to_device" \
  --header "Authorization: Bearer $SEAM_API_KEY" \
  --json @- <<EOF
{
  "user_identity_id": "a5a48343-a95e-4f51-a5d9-1e4241b73553",
  "device_id": "92874f9e-a2b5-4d49-a039-0280196ad4d5"
}
EOFOutput:
{}Revokes access to a specified device from a specified user identity.
Code:
seam.user_identities.revoke_access_to_device(
    user_identity_id="a5a48343-a95e-4f51-a5d9-1e4241b73553",
    device_id="92874f9e-a2b5-4d49-a039-0280196ad4d5",
)Output:
NoneRevokes access to a specified device from a specified user identity.
Code:
seam.user_identities.revoke_access_to_device(
  user_identity_id: "a5a48343-a95e-4f51-a5d9-1e4241b73553",
  device_id: "92874f9e-a2b5-4d49-a039-0280196ad4d5",
)Output:
nilRevokes access to a specified device from a specified user identity.
Code:
$seam->user_identities->revoke_access_to_device(
    user_identity_id: "a5a48343-a95e-4f51-a5d9-1e4241b73553",
    device_id: "92874f9e-a2b5-4d49-a039-0280196ad4d5"
);Output:
Revokes access to a specified device from a specified user identity.
Code:
seam user-identities revoke-access-to-device --user_identity_id "a5a48343-a95e-4f51-a5d9-1e4241b73553" --device_id "92874f9e-a2b5-4d49-a039-0280196ad4d5"Output:
{}Request Parameters
device_id String (Required)
ID of the managed device to which you want to revoke access from the user identity.
user_identity_id String (Required)
ID of the user identity from which you want to revoke access to a device.
Response
void
Last updated
Was this helpful?

