Acknowledge policy version

POST/device/ack

Confirm that the device has successfully applied a specific policy version.

Auth:X-Device-Key

Request body

version

integerrequired

Response

acknowledged_version

integer
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
}