0
votes

I am trying to set the public network interface speed to 0. I am getting the following error,

{
  "error":"Speed cannot be null and must be 0 (Disconnect), 10, 100, 1000, or 10000.",
  "code":"SoftLayer_Exception_Public"
}

The URL is: https://api.softlayer.com/rest/v3/SoftLayer_Virtual_Guest/100862242/setPublicNetworkInterfaceSpeed

The method is GET. The parameter passed is:

{
   "parameters" :
    [
        "newSpeed" : 0
    ]
}
1

1 Answers

1
votes

Just change the payload like this:

{  
 "parameters":[  
    0
]}