To use Rest API you need that the user has some permission:
- Connect to MobileIron portal
- Go to Admin and select the user that are you using to connect to API.
- Select Actions > Edit Roles
- Confirm that following roles are selected:
...
...
...
...
...
...