Change Rackspace Cloud Load Balancer timeout

  1. Get an Auth-Token
curl -i -d \
  '{ "auth":
    { "RAX-KSKEY:apiKeyCredentials":
	  {
	    "username": "luiscachog",
		"apiKey": "API-KEY"
	  }
	}
  }' -H 'Content-Type: application/json' \
  https://identity.api.rackspacecloud.com/v2.0/tokens
  1. With the Auth-Token get details of the CLB
curl -i -H 'X-Auth-Token: AUTH-TOKEN' -H 'Accept: application/json' \
https://DATACENTER.loadbalancers.api.rackspacecloud.com/v1.0/ACCOUNT_ID/loadbalancers/CLOUD_LOAD_BALANCER_ID
  1. Update the timeout parameter:
curl -i -d \
  '{ "loadBalancer":
    {
	  "timeout" : "120"
	}
  }' \
  -H 'X-Auth-Token: AUTH-TOKEN' \
  -H 'Content-Type: application/json' \
  -X PUT \
  https://DATACENTER.loadbalancers.api.rackspacecloud.com/v1.0/ACCOUNT_ID/loadbalancers/CLOUD_LOAD_BALANCER_ID
Next