Planon IoT : Axonize (stand-alone) : Devices Endpoints : Devices/GenerateSASToken : Request ‒ Devices/GenerateSASToken
Request ‒ Devices/GenerateSASToken
Property
Type
Description
Mandatory
key
String
The device ID.
parameters
JSON
daysTTL – The number days that the token is valid – maximum 365 days. The default is 45 days.
Example JSON Devices/GenerateSASToken
curl -X POST \
https://api.stg.axonize.com/odata/devices/58564b324e41995b98212345/GenerateSASToken \
-H ‘Cache-Control: no-cache’ \
-H ‘Content-Type: application/json’ \
-H ‘Authorization: Token’ \
-H ‘appId: be517433-c4b8-4788-9258-1ba220123456’ \
-d ‘{
“daysTTL”: 45
}’