Set a Security Group as a default for running Apps
PUT /v2/config/running_security_groups/:guid
Request
Route
PUT /v2/config/running_security_groups/8dbbcf79-8054-4df4-a884-6c3d13d011c3
Headers
cURL
curl "https://api.[your-domain.com]/v2/config/running_security_groups/8dbbcf79-8054-4df4-a884-6c3d13d011c3" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTY0IiwiZW1haWwiOiJlbWFpbC00NEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDM4NjQxNzg5fQ.uBM8iQsOS4izjyYGmK6xfVPSdF5oks1bUBt3ndfx8vw" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "8dbbcf79-8054-4df4-a884-6c3d13d011c3",
"url": "/v2/config/running_security_groups/8dbbcf79-8054-4df4-a884-6c3d13d011c3",
"created_at": "2015-07-27T22:43:09Z",
"updated_at": "2015-07-27T22:43:09Z"
},
"entity": {
"name": "name-183",
"rules": [
{
"protocol": "udp",
"ports": "8080",
"destination": "198.41.191.47/1"
}
],
"running_default": true,
"staging_default": false
}
}
Headers