Replace All Passes
Overwrite the access control list of the specified device with a new set of passes.
Command Type | Device is Online | Device is Offline |
---|---|---|
Synchronous, Queueable | Immediate execution, Immediate results and published results | Queued execution, Published results |
Property | Location | Details |
---|---|---|
AccessKey string
Required
Unique | Header | The access key for your user account. This value is a 36-character GUID provided during user account sign up. |
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-_]*$ |
Passes array(strings)
Required | 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}$ At least one value must be defined. |
PUT https://api.jetstreamrfid.com/2/devices/{Device Name}/accesscontrol
200 OK
None – this is a new endpoint