The /katello/api/v2/systems/ requires system UUID twice as parameter
Issue
- Unable to attach subscription to system using
/katello/api/v2/systems/REST API. It fails with error as below,
# curl -X PUT -u admin:redrhn -H "Content-Type:application/json" -k -d '{"service_level":"Self-Support"}' --cacert ssl-build/katello-server-ca.crt https://my.satellite.com/katello/api/v2/systems/ec250dc5-7923-43e9-92f3-cece9b9c44df
Even with correct system UUID mentioned I can see error as below,
{"displayMessage":"Missing values for system.","errors":["key not found: system"]}
Environment
- Red Hat Satellite 6.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.