Forum Discussion
REST API access right
PauliusYes, the user is a local user. We didn't configure our F5 for remote authentication while we only played and learn using REST with admin user only. Would you advise how to configure F5 to enable remote user authentication and thus to use REST api ?
Thanks a lot.
sysAdm You do not need to enable remote authentication in order to use REST api. I was just making sure it wasn't enabled because if it was and you were using a local user, the local users are disabled when remote authentication is enabled. The exception to disabled local users with remote authentication is the root and admin user that come default on the F5.
- sysAdmMay 18, 2023Altocumulus
Paulius Got it and thanks. For the authorization issue we hit, since the user can issue the tmsh commands in SSH session but failed in REST api, I think the user has sufficient privilege in tmsh's perspective. Will it be due to some other authorization control for using REST api ? Thanks.
- PauliusMay 18, 2023MVP
sysAdm Based on the following article your user should have the ability to perform commands through REST api as long as they have the appropriate permissions for the command that they are attempting to execute. I would make sure that they role you associated to that user has appropriate permissions for the commands in question.
- sysAdmMay 22, 2023Altocumulus
PauliusThe role granted to the user has sufficient right and verified in tmsh command line.
Seems the issue is the user doesn't have access to particular REST API endpoints like that mentioned here https://my.f5.com/manage/s/article/K43371345.
Thanks.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com