Retrieve organization devices data usage

Retrieve the data usage of all devices in an organization, as well as any webhook destination URLs.

Request
Security:
path Parameters
orgId
required
string

The ID of the organization. Obtain this from GET /organizations.

Example: 62
query Parameters
offset
string^[1-9]\d*$
Default: "0"

Set the number of results to skip over before receiving pagination results.

Example: offset=1
limit
integer <= 200
Default: 100

Set the maximum number of pagination results to recieve, up to 200. The default is 100.

Example: limit=4
Responses
200

Successful operation

400

Bad request error

401

Unauthorized error

403

Forbidden error

404

Not found error

500

Internal server error

get/organizations/{orgId}/devices-data-usage
Request samples
curl -i -X GET \
  'https://api-prod.surfsight.net/v2/organizations/:orgId/devices-data-usage?offset=1&limit=4' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
Response samples
application/json
{
  • "data": [
    ]
}