RHV REST API curl command errors with "Unauthorized" message
Issue
- RHV API curl command returns an error:
curl -X GET -H "Accept: application/xml" -u admin:your_password --insecure https://rhv4.example.com:443/ovirt-engine/api/vms
<html><head><title>Error</title></head><body>Unauthorized</body></html>
Environment
- Red Hat Virtualization (RHV) 4.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
