Skip to main content
POST
/
finance
/
device
/
unlock-temp
Temporarily unlock device
curl --request POST \
  --url http://134.209.118.139:3002/finance/device/unlock-temp \
  --header 'Content-Type: application/json' \
  --header 'x-access-token: <api-key>' \
  --data '
{
  "customerid": 123,
  "hours": 48
}
'
{
  "message": "No token provided."
}

Authorizations

x-access-token
string
header
required

JWT token obtained from POST /api/auth/signin

Body

application/json
customerid
integer
required
hours
integer
default:24
Example:

48

Response

Temporary unlock applied