Jetstream API
...
API Endpoints
Device Commands
Sync Device Credentials
8min
about instruct the specified device to set/sync its access control list to the credentials associated with the specified device in jetstream command type device is online device is offline synchronous, queueable immediate execution, immediate results and published results queued execution, published results parameters property location details accesskey string required unique header the access key for your user account this value is a 36 character guid provided in your getting started docid\ bbifqiuixnd5iafmrebbi devicename string required unique url the name of the device this value has a max length of 128 ascii characters this value must adhere to this regular expression ^\[a za z0 9 , ] $ example request url post https //api jetstreamrfid com/3/devices/{device name}/credentials/sync request body none required response code 200 ok response body { "commandid" "5be4a19c f1c3 42a9 b437 eacf5272bb8d", "status" "completed", "exceptionlist" \[], "outputparameterlist" \[] } published commandqueuedevent { "device" "mydevicename", "commandid" "5be4a19c f1c3 42a9 b437 eacf5272bb8d", "commandname" "synccredentials", "uri" "/3/devices/mydevicename/credentials/sync", "verb" "post", "user" "myusername", "parameters" \[ { "key" "add" "value" "mybasiccredentials1 value" }, { "key" "add", "value" "mybasiccredentials2 value" }, { "key" "add", "value" "mybasiccredentials3 value" }, { "key" "remove", "value" " " } ], "type" "commandqueuedevent", "eventid" "7e830645 0c77 4a1d 9666 1e5b6c320947", "eventtime" "2018 05 17t13 51 08z", "version" 2 } published commandcompletionevent { "commandid" "0093fac7 1d82 430a 8bd2 0562c2067037", "commandname" "synccredentials", "outputparameterlist" \[], "exceptionlist" \[], "device" "mydevicename", "receivedtime" "2018 05 16t21 17 13z", "type" "commandcompletionevent", "eventid" "59236a58 2581 4f10 be5c 44c11e681794", "eventtime" "2018 05 16t21 17 12z", "version" 2 } version changes a combination of this endpoint, create device credentials docid y xfsvux fyloqyuzqmr , modify device credentials docid\ j3ncv3riuibv506 jobzd , and delete device credentials docid 6bj1etryzo paajn3zasg replaces add and/or remove passes and replace all passes