In any case the user associated with the credentials you use is not assigned to the same cinoany ID you replaced
More in detail?
Thanks a lot! I’ ll replace credentials with new user in assigned to a new company ID to call users.get_all again.
A users.get_all
request will return the users in the company to which the calling user is authenticated to. So, if you only get the users from the original default company ID and not those from newID, it means the credentials you're using to call this endpoint are associated in the server with the original company ID, and not with the newID
In any case, the said credentials are valid for the company ID defined using
apiserver.default_company
It really works for apiserver, but webserver does not have the default_company configuration.