Update Device Location
POST/api/v1/devices/:device_id/location
Update device location and trigger geofence events.
BYOD Security + Shift Enforcement:
- Only device owner can upload locations
- Device must be enabled (is_active)
- Shift must be active, OR timestamp falls within past shift window
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 429
- 500
OK
Bad Request
Unauthorized
Forbidden
Not Found
Validation Error
Too Many Requests
Internal Server Error