I wanted to get all the devices tagged with a given string using a REST API. I have tried curl -X GET -u "$user_name:$api_key" https://api.softlayer.com/rest/v3/SoftLayer_Tag/iisha7/getReferences but it didn't work. It is giving this error:
{"error":"Internal Error","code":"SoftLayer_Exception_Public"}
Does this solve my purpose? or should I use another API? If it does, what is the mistake I am doing? Please suggest.