GET, POST

/api/public/v1/devices/{deviceId}

Beta

Read one device, or apply an action (trust, block, revoke, sign out, wipe app data, and so on).

Parameters

NameInRequiredDescription
deviceIdpathtrueThe device id.
actionbody (POST)trueOne of the supported device actions.

Response

The device after the action.

Example

curl -H "Authorization: Bearer $INAYA_API_KEY" \
  "https://app.inaya.network/api/public/v1/devices/REPLACE_ME"