Resets a device by removing all currently deployed container stacks.
DELETE/api/v1/devices/{deviceId}/stacks/deployments
Overview: This operation completely removes all deployed stacks from a device, effectively returning it to a clean, initial state with no deployed containers.
• Complete Removal: All stacks are removed from the device in one operation.
• Clean Slate: The device reverts to its initial state, having no deployed stacks.
• Process: The system sends an empty stacks configuration array to the device via NATS, immediately notifying the device to stop all containers.
• Database Cleanup: All corresponding deployment records for the device are removed from the database.
• Irreversible: Due to the nature of the reset, all stacks must be redeployed individually after this operation is complete.
Request
Responses
- 204
- 404
- 500
No Content
Not Found
Internal Server Error