The device registration limit set for an Astarte realm is meant to prevent device registration when the limit is reached.
The main purpose is to restrict the ability of realm users to create new devices that would allocate more resources.
However, when the limit is reached Astarte also currently forbids re-registering existing devices.
This operation could arguably be allowed since it is useful for generating a new credential secret for the device when the previous one is lost or compromised.
The device registration limit set for an Astarte realm is meant to prevent device registration when the limit is reached.
The main purpose is to restrict the ability of realm users to create new devices that would allocate more resources.
However, when the limit is reached Astarte also currently forbids re-registering existing devices. This operation could arguably be allowed since it is useful for generating a new credential secret for the device when the previous one is lost or compromised.