ionos-cloud / module-ansible

Apache License 2.0
9 stars 8 forks source link

user not found when get limit exceeded #163

Closed rmocanu-ionos closed 1 year ago

rmocanu-ionos commented 1 year ago

Description

When more that the get request limit of users are present on the contract the module fails to identify users which are not in the first page.

Expected behavior

The module should use pagination to retrieve all the objects

fghimpeteanu-ionos commented 1 year ago

It would recommend to use pagination https://api.ionos.com/docs/cloud/v6/#tag/User-management because the maximum limit of 1000 is per page and thus if the client has more than 1000 users, we will end up again in this situation. This is the Jira ticket with the investigation of the above issue: https://hosting-jira.1and1.org/browse/VDC-14559