Thanks for correcting the documentation link, @jbevan.
Apologies, @Pakiet, I overlooked an important detail for Get all users API; unfortunately, this resource cannot be accessed from a Connect app and I do not have a workaround.
Here’s a similar post wherein the same REST API is being accessed from a Connect app Getting all users from a connect app.