Modify Device Credentials
Overwrite the access control list of the specified device with a new set of credentials. The credentials are not pushed to the device until a Sync Device Credentials call is initiated.
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 user profile. |
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-_,. ]*$ |
Credentials array(string)
Required | Body Request Response | The 10-40 digit hexadecimal RFID values of the access passes that this device should add to its access control list. Note: This is not the 6-digit ID printed on the back of the access pass. That number is simply for visual identification. |
PUT https://api.jetstreamrfid.com/3/devices/{Device Name}/credentials/basic
200 Ok
A combination of this endpoint and the Sync Device Credentials endpoint replaces the Replace All Passes endpoint.