You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The web server exposes a REST API at https://<device-ip>/thin-edge-io/api/.
All endpoints require a valid ctrlX Bearer Token (passed automatically by the ctrlX reverse proxy when accessed via the sidebar). For direct access, include the token in the Authorization: Bearer <token> header.
Access Scopes
Scope
Permissions
thin-edge-io.rwx
Full access (read, write, execute)
thin-edge-io.rw
Read and write (no connect/disconnect)
thin-edge-io.r
Read-only
Status & Build
Method
Endpoint
Scope
Description
GET
/status
r
Service status for all components
GET
/build-info
r
Snap version, build number, architecture
GET
/me
r
Current authenticated user and role
Configuration
Method
Endpoint
Scope
Description
GET
/config
r
Current tedge configuration (all values)
POST
/config/c8y
rw
Save Cumulocity IoT configuration
POST
/config/aws
rw
Save AWS IoT configuration
POST
/config/az
rw
Save Azure IoT Hub configuration
POST
/config/device
rw
Save device configuration (name, ID)
POST
/set-mqtt-port
rw
Set MQTT port (8883 = Core MQTT, 9883 = MQTT Service)
GET
/tedge-config-list
r
Full tedge config list output
Device Identity & Certificate
Method
Endpoint
Scope
Description
GET
/device-id
r
Get current device ID
POST
/device-id
rw
Set device ID
POST
/device-id/recreate
rwx
Recreate device certificate
POST
/device-id/create-auto
rwx
Auto-create certificate from current device ID
GET
/device-id/cert-info
r
Show certificate details (subject, issuer, validity, fingerprint)
POST
/cert/upload/c8y
rwx
Upload certificate to Cumulocity tenant
Cloud Connection
Method
Endpoint
Scope
Description
POST
/connect/{cloud}
rwx
Connect to cloud — cloud = c8y, aws, or az
POST
/disconnect/{cloud}
rwx
Disconnect from cloud
POST
/reconnect/{cloud}
rwx
Reconnect to cloud (disconnect + connect)
POST
/test-message
rwx
Publish a test MQTT message
Logs
Method
Endpoint
Scope
Description
GET
/logs?service=<name>
r
Fetch recent log lines for a service
GET
/log-level?service=<name>
r
Get configured log level for a service
POST
/log-level
rw
Set log level (error/warn/info/debug/trace); restarts service to apply