Skip to main content
PUT
/
v2
/
scanners
/
{scannerId}
Update Scanner Information
curl --request PUT \
  --url https://api.loyalty.dog/v2/scanners/{scannerId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "fullAccess": true,
  "pin": "<string>",
  "allowedTemplates": [
    "5eb7cf5a86d9755df3a6c593"
  ]
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Authorizations

Authorization
string
header
required

JWT access token obtained from POST /v2/token.

Headers

authorization
string | null

Path Parameters

scannerId
required
Required string length: 24
Pattern: ^[0-9a-f]{24}$
Example:

"5eb7cf5a86d9755df3a6c593"

Body

application/json
name
string | null
type
enum<string> | null
Available options:
Browser,
PassVerifier,
CodeReadr,
None
fullAccess
boolean | null
pin
string | null
allowedTemplates
string[] | null
Required string length: 24
Pattern: ^[0-9a-f]{24}$

Response

Successful Response