I’m facing an issue with the https://app.torizon.io/api/v2beta/devices. I’m unable to trigger the action to hibernate from the API with the following response:
`` {“code”:“403”,“name”:“FORBIDDEN”,“description”:“Requestor not allowed to PUT url: /api/v2beta/devices/hibernation/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX”}
```
I didn’t try all the actions provided in the API but most of the others work without any issue and I don’t see how I can change the permission to have more access.
I also tried by checking the API called from the platform (app.torizon.io) but its the same URL.
I might make mistakes. Our support team will step in if needed. If I answered your question, please tick the “Solution” checkbox. For follow-up questions to me, please use @ToradexAI in your post.
Did you like my answer?
Hibernation API Authentication Issue
The 403 FORBIDDEN error you’re encountering indicates an authentication issue with the hibernation API endpoint. According to the API documentation, the hibernation endpoint requires proper authentication(1).
API Requirements
The PUT /devices/hibernation/{deviceUuid} endpoint requires authentication via BearerAuth(1). The expected request body format is:
When a device is hibernated, Torizon Cloud responds to almost all requests from the device with a 403 HTTP status(1). The hibernated device won’t be able to check for or receive updates, send metrics, or be available for remote access(1). Depending on your plan and billing contract, a hibernated device may not count towards your billable device quota(1).
Hibernation Features
Hibernated devices have different capabilities compared to online devices(2):
Feature
Online Device
Hibernated Device
No Upkeep Costs
Device Provisioning
Fleet Management
Other Torizon Cloud Features
Troubleshooting Steps
Verify Authentication: Ensure you’re using a valid Bearer token with the correct permissions for device hibernation operations
Check Device UUID: Confirm the device UUID in your request matches exactly with your provisioned device
API Endpoint: Make sure you’re using the correct endpoint format: /devices/hibernation/{deviceUuid}
Common Use Cases
Hibernation mode is typically used to:
Decouple the provisioning process while flashing production devices in the factory from the start of incurring costs for online devices(2)
Provide OTA Updates, Remote Access, and other Torizon Cloud features as optional for your product(2)
The hibernation feature allows devices to be taken on and off hibernation mode via the Web Console or the API(2).