Jetstream API
...
Device Commands
Add or Remove Passes
8 min
about add passes to and/or delete passes from the access control list of the specified device command type device is online device is offline synchronous, queueable immediate execution, immediate results and published results queued execution, published results applicable to the following device(s) rfid enclosures (cabinets, fridges, freezers) docid\ kobljqnco2s0 1oznf09g parameters property location details accesskey header the access key for your user account this value is a 36 character guid provided during user account sign up https //jetstreamrfid com/login/signup devicename 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 ] $ add body the pass(es) to add to the access control list of the device each value must adhere to this regular expression ^\[a f0 9]{10}$ this property is required and must be included with all requests if there are no passes to add, define an empty array remove body the pass(es) to delete from the access control list of the device each value must adhere to this regular expression ^\[a f0 9]{10}$ this property is required and must be included with all requests if there are no passes to delete, define an empty array example request url post https //api jetstreamrfid com/2/devices/{device name}/accesscontrol request body response code 200 ok response body published commandqueuedevent published commandcompletionevent version changes replaces updatepasses