Performs a local allocation using the /allocdata.json file on the
device’s filesystem. This transitions the device from unallocated
to allocated state without contacting the IES.
Configuration variables
a (Required, string): Must be alloc_local.
p (Optional, object):
Parameter
Type
Required
Description
user
object
no
JSON object to initialise user/application data post‑allocation
Performs a local return (de‑allocation) using the /unallocdata.json
file on the device’s filesystem. This transitions the device from
allocated back to unallocated state.
Configuration variables
a (Required, string): Must be return_local.
{
"devwork": {
"actions": [
{ "a": "return_local" }
]
}
}
This action also exits the provisioning state when called from
provisioning mode.