Update gateway state and receive config
PUT/api/v1/gateways/:gatewayId
Updates an existing gateway's device state and receives server-pushed configuration overrides and commands. Called on SDK startup, on SDK version change, and as a periodic heartbeat. Idempotent.
The body is the registration schema. manufacturer, model,
firmwareVersion and the optional device-state fields are stored;
type and deviceId are the device's registered identity and are
validated but not changed by this call. Re-register to change them.
A gateway an administrator has disabled is refused with 403
gateway_disabled, and its heartbeat is not recorded.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 429
- 503
Gateway updated.
Invalid request.
Invalid or expired credentials.
Gateway is disabled.
Gateway not found (gateway_not_found): the path gatewayId is not a
UUID, does not match the gateway the bearer token was issued to, or has
no registration. Not retryable.
Rate limited.
Service temporarily unavailable.