Perform REST API calls with error User is not authorized
- Views:
- 1,810
- Visibility:
- Public
- Votes:
- 0
- Category:
- fas-systems
- Specialty:
- core
- Last Updated:
- 5/23/2025, 4:43:54 PM
Applies to
- REST API
- ONTAP 9
Issue
REST API requests fails.
From a Browser:
Browsing URL of
https://ip_address/api/cluster?fields=version
{"error":{"code":"6691623", "message":"User is not authorized."}}
From curl:
curl --request GET 'https://ip_address/api/cluster?fields=version'
{"error":{"code":"6691623", "message":"User is not authorized."}}