Acknowledge policy version
POST
/device/ackConfirm that the device has successfully applied a specific policy version.
Auth:
X-Device-KeyRequest body
versionintegerrequired
Response
acknowledged_versioninteger
Request
bash
curl -sS -X POST "https://phosra-api-sandbox-production.up.railway.app/api/v1/device/ack" \
-H "X-Device-Key: $PHOSRA_DEVICE_KEY" \
-H "Content-Type: application/json" \
-d '{
"version": 3
}'Response
json
{
"acknowledged_version": 0
}