Devices
Use these methods to obtain and manage information about devices from which the client was signed in to the B2Core UI.
GET[host]/api/v2/my/devices |
|
GET[host]/api/v2/my/devices/{deviceId} |
|
DELETE[host]/api/v2/my/devices/{deviceId} |
Get a list of devices
Use this method to obtain a list of devices from which the current client was signed in to the B2Core UI.
Request
Header parameters:
Authorization: Bearer <access_token>
GET[host]/api/v2/my/devices
curl --location --request GET 'https://host.name/api/v2/my/devices?limit=10&offset=0' \
--header 'Authorization: Bearer <token>'
Response
A response contains an array of Device objects providing information about the available client devices.
Get device details
Use this method to obtain detailed information about a specified client device.
Request
Header parameters:
Authorization: Bearer <access_token>
Path parameters:
- deviceId required
The device identifier.
GET[host]/api/v2/my/devices/{deviceId}
curl --location --request GET 'https://host.name/api/v2/my/devices/1' \
--header 'Authorization: Bearer <token>'
Response
A response contains a Device object providing information about the specified client device.
Delete a device
Use this method to delete a specified client device.
Request
Header parameters:
Authorization: Bearer <access_token>
Path parameters:
- deviceId required
The device identifier.
GET[host]/api/v2/my/devices/{deviceId}
curl --location --request DELETE 'https://host.name/api/v2/my/devices/1' \
--header 'Authorization: Bearer <token>'
Response
In case of success, no response body is returned.