Skip to main content
POST
/
user_identities
/
grant_access_to_device
await seam.userIdentities.grantAccessToDevice({ user_identity_id: "4e9b7099-bcad-4af6-bb78-88b96cc347bd", device_id: "6de31c5d-c8a3-4b25-a86b-a9c5075a5eb8", }); /* // void */
{
  "ok": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
device_id
string<uuid>
required

ID of the managed device to which you want to grant access to the user identity.

user_identity_id
string<uuid>
required

ID of the user identity that you want to grant access to a device.

Response

OK

ok
boolean
required