curl --request POST \
--url https://dashboard.hologram.io/api/1/devices/changeplan \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"planid": 4,
"zone": "global",
"deviceids": [
1
],
"orgid": 45,
"overage_limit": 5000000,
"useacctbalance": true
}
'{
"success": true,
"data": {
"warnings": [],
"devices_modified": [
5
],
"profiles_modified": [
8,
9
],
"newplanid": 1
},
"order_data": {
"preview": false,
"sku": "PLANCHANGE",
"unit_cost": 0.99,
"total_cost": 0.99,
"quantity": 1,
"description": "Plan change for 2 profiles",
"transaction_type_id": "PCH",
"extra_description": "Plan:Standard Plan($1.9900 per 1 months)",
"needs_shipping": false,
"linkids": [
9,
8
]
}
}Change the data plan for the given devices.
Warning: Changing data plans will remove any set data limits.
curl --request POST \
--url https://dashboard.hologram.io/api/1/devices/changeplan \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"planid": 4,
"zone": "global",
"deviceids": [
1
],
"orgid": 45,
"overage_limit": 5000000,
"useacctbalance": true
}
'{
"success": true,
"data": {
"warnings": [],
"devices_modified": [
5
],
"profiles_modified": [
8,
9
],
"newplanid": 1
},
"order_data": {
"preview": false,
"sku": "PLANCHANGE",
"unit_cost": 0.99,
"total_cost": 0.99,
"quantity": 1,
"description": "Plan change for 2 profiles",
"transaction_type_id": "PCH",
"extra_description": "Plan:Standard Plan($1.9900 per 1 months)",
"needs_shipping": false,
"linkids": [
9,
8
]
}
}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.
Successful response
Was this page helpful?