To use Rest API
...
ensure that the user has the following permission:
- "Public API access". (see here for more information)
...
- Connect to XenMobile Portal
- Go to settings and select Role-based Access Control
- Expand one of the user users to see these permissions