Forum Discussion
Getting 401 error while runnig script from rest APi after upgrade 12.1.3
2 Replies
- ekaleido
Cirrus
If I recall correctly, you have to send an auth request for a token, based on the type of authentication you have configured, and then send that token as a header to authenticate the action you want to perform.
This link describes the process:
https://devcentral.f5.com/wiki/iControl.Authentication_with_the_F5_REST_API.ashx - Satoshi_Toyosa1Ret. Employee
You might have been using the RBAC (Role-Based Access Control) on your previous box. The settings do not survive upgrading. iControl REST User Guide for Version 11.6, pp. 22-23 tells you how to configure it. Having said so, for 12 and later, the recommended method is the Token Based Authentication just like ekaleido said above.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
