Skip to main content
Skip table of contents

Check device approval status

Request

To check whether the device that the client application is running on is on the account's approved devices list, send a GET request to:

CODE
https://<host>:<port>/adm/v1/user/devices/amiapproved

Headers

  • x-correlation-id – identifier for logging, to correlate messages across a call flow
  • nv-tenant-id – the tenant ID
  • token – request authentication token

Mandatory arguments

None

Other arguments

None

Response

A successful request returns an HTTP 201 status. This means that the device is on the approved devices list.

A bad request returns an HTTP 400 status.

An unauthorised request returns an HTTP 401 status.

A forbidden request returns an HTTP 403 status. This means that the devices is not on the approved devices list.

Example

A successful request returns a response like this:

CODE
{
    "_id": "abc123"
}

See also

For full details of this API, see the Account and Device Manager (ADM) API documentation.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.