Skip to main content
POST
/
devices
/
batch
/
usagelimit
Update device data usage limits (bulk)
curl --request POST \
  --url https://dashboard.hologram.io/api/1/devices/batch/usagelimit \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "datathreshold": 1000000,
  "overagelimit": 2000000,
  "smslimit": 100,
  "deviceids": [
    105
  ]
}
'
{
  "success": true,
  "data": {
    "warnings": [],
    "devices_modified": [
      105
    ],
    "profiles_modified": [
      170
    ],
    "newdatathreshold": 1000000,
    "newoveragelimit": 2000000,
    "newsmslimit": 100
  }
}

Authorizations

Authorization
string
header
required

HTTP Basic authentication using API keys. Set the username to apikey and the password to your API key.

You can find your API key on the Hologram Dashboard under Account Settings.

Query Parameters

orgid
number
required

Body

application/json
datathreshold
number
Example:

1000000

overagelimit
number
Example:

2000000

smslimit
number
Example:

100

deviceids
number[]

Response

200 - application/json

Successful response