Revoke Access to a Device from a User Identity

Revoke access to a specified device from a specified user identity

Revokes access to a specified device from a specified user identity.

Request

Specify the desired user identity and device by including the corresponding user_identity_id and device_id in the request body.

Request Body Parameters

Sample Request

curl -X 'POST' \
  'https://connect.getseam.com/user_identities/revoke_access_to_device' \
  -H 'accept: application/json' \
  -H 'Authorization: Bearer ${API_KEY}' \
  -H 'Content-Type: application/json' \
  -d '{
  "user_identity_id": "f3a328b4-dd04-4370-9000-d52b7a01b0bf",
  "device_id": "054765c8-a2fc-4599-b486-14c19f462c45"
}'

Response

Returns a Boolean ok status indicator.

Sample Response

{
  "ok": true
}

Last updated

Logo

Š Seam Labs, Inc. All rights reserved.