Readers
Update reader
PATCH
/
api
/
v1
/
readers
/
{id}
curl --request PATCH \
--url https://api.passentry.com/api/v1/readers/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"reader": {
"id": "south-gate-3",
"password": "Test789!",
"mifareClassicNfcEnabled": true,
"scanEnabled": false,
"redeemEnabled": true,
"qrEnabled": true
}
}'
{
"data": {
"id": "south-gate-3",
"type": "reader",
"attributes": {
"name": "South Gate Reader",
"readerType": "PassentryReader",
"loggedIn": false,
"qrEnabled": true,
"mifareClassicNfcEnabled": true,
"scanEnabled": false,
"redeemEnabled": true,
"addPointsEnabled": false,
"ndefTagScanningEnabled": false,
"lastSeenAt": "2020-03-13T13:00:00Z"
}
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Reader ID
Body
application/json
Response
200
application/json
successful
The response is of type object
.
Was this page helpful?
curl --request PATCH \
--url https://api.passentry.com/api/v1/readers/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"reader": {
"id": "south-gate-3",
"password": "Test789!",
"mifareClassicNfcEnabled": true,
"scanEnabled": false,
"redeemEnabled": true,
"qrEnabled": true
}
}'
{
"data": {
"id": "south-gate-3",
"type": "reader",
"attributes": {
"name": "South Gate Reader",
"readerType": "PassentryReader",
"loggedIn": false,
"qrEnabled": true,
"mifareClassicNfcEnabled": true,
"scanEnabled": false,
"redeemEnabled": true,
"addPointsEnabled": false,
"ndefTagScanningEnabled": false,
"lastSeenAt": "2020-03-13T13:00:00Z"
}
}
}
Assistant
Responses are generated using AI and may contain mistakes.