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/5117ceee-fdee-4dec-be3b-fb9c53b355bd
Headers
cURL
curl "https://api.[your-domain.com]/v2/config/running_security_groups/5117ceee-fdee-4dec-be3b-fb9c53b355bd" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMzNSIsImVtYWlsIjoiZW1haWwtMjM3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDU1NTc5NjJ9.BWOV8OEz5hK6d6hgElI4bBT6gKcIeg2xlynuQPSakkk" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "5117ceee-fdee-4dec-be3b-fb9c53b355bd",
"url": "/v2/config/running_security_groups/5117ceee-fdee-4dec-be3b-fb9c53b355bd",
"created_at": "2015-10-15T23:52:42Z",
"updated_at": "2015-10-15T23:52:42Z"
},
"entity": {
"name": "name-2189",
"rules": [
{
"protocol": "udp",
"ports": "8080",
"destination": "198.41.191.47/1"
}
],
"running_default": true,
"staging_default": false
}
}
Headers