Skip to main content
PATCH
/
v1
/
scanner
/
pin
/
{id}
Update PIN
curl --request PATCH \
  --url http://localhost:3000/v1/scanner/pin/{id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "pin": "123456"
}
'
{
  "success": true,
  "staff": {
    "id": "<string>",
    "first_name": "<string>",
    "last_name": "<string>",
    "email": "<string>",
    "pin": "<string>"
  },
  "error": "<string>",
  "message": "<string>"
}

Path Parameters

id
string
required
Example:

"123e4567-e89b-12d3-a456-426614174000"

Body

application/json
pin
string
required
Example:

"123456"

Response

PIN updated successfully

success
boolean
staff
object
error
string
message
string