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/77604991-b925-4842-bd3f-27f18ba55a32
Headers
cURL
curl "https://api.[your-domain.com]/v2/config/running_security_groups/77604991-b925-4842-bd3f-27f18ba55a32" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEwNSIsImVtYWlsIjoiZW1haWwtNzZAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ1MzgzNzI1OX0.ERgOmTY_gFSEBoroiHhIfnpjZJy2BtE4oLzB4pUguVA" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "77604991-b925-4842-bd3f-27f18ba55a32",
"url": "/v2/config/running_security_groups/77604991-b925-4842-bd3f-27f18ba55a32",
"created_at": "2016-01-19T19:40:59Z",
"updated_at": "2016-01-19T19:40:59Z"
},
"entity": {
"name": "name-355",
"rules": [
{
"protocol": "udp",
"ports": "8080",
"destination": "198.41.191.47/1"
}
],
"running_default": true,
"staging_default": false
}
}
Headers