Delete Device Credentials

Remove credentials from the access control list of the specified device. The credentials are not removed from the device until a Sync Device Credentials call is initiated.

More Info

To delete all credentials currently on a device without having to specify each credential, simply send a Modify Device Credentials command with an empty array.

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-_,. ]*$

Credentials

array(string)
Required

Body

Request Response

The 10-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.

Request URL

DELETE https://jetstream.tersosolutions.com/3/devices/{Device Name}/credentials/basic

Request Body

[
    "MyBasicCredentials1_Value", 
    "MyBasicCredentials2_Value", 
    "MyBasicCredentials3_Value"
]

Response Code

204 No Content

Response Body

None Returned

More Info

Certain programming languages, like Java, may not be able to send a DELETE with a body. If you find this to be the case, simply use the PATCH verb instead of DELETE when deleting credentials.

A combination of this endpoint and the Sync Device Credentials endpoint replaces the Add and/or Remove Passes endpoint – specifically, the Remove Passes part.