Hello,
I am currently trying to enforce a device limit on our customers’ tenants.
When I set the limit via the Administration UI, it correctly appears in the usage statistics. Additionally, if I try to register a device through the Device Registration page on the tenant, it correctly shows that the device limit has been reached and prevents further registrations.
However, I noticed that if I create a managed object with the fragment "c8y_IsDevice": {}
via the REST API, the request completes successfully—even when the limit has already been reached. The created object is also visible as a device in the Device Management.
As far as I understand, devices that are billed to us are defined by the number of managed objects that include this fragment.
So in theory, a customer could create a large number of billable devices via the REST API, bypassing the device limit set on their tenant.
Am I correct in this assumption, and is this the intended behavior?
Thanks in advance!