How is data retention calculated?

Data retention signifies how long a message is stored in ARTIK Cloud. The expiration date of a message is decided at the time it is created. The expiration date never changes, even if the plan associated with the device type changes. Messages are deleted after the retention period. This impacts both messages sent and actions received by the device.