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/00375f68-00d7-45ab-94c2-efc1ff515cbf
Headers
cURL
curl "https://api.[your-domain.com]/v2/config/running_security_groups/00375f68-00d7-45ab-94c2-efc1ff515cbf" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM3OSIsImVtYWlsIjoiZW1haWwtMjc2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTg1OTk0NTB9.o81sifS7yxDfvwoosTBBfZlQeSoxf2JTKQigt7tKIDQ" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "00375f68-00d7-45ab-94c2-efc1ff515cbf",
"url": "/v2/config/running_security_groups/00375f68-00d7-45ab-94c2-efc1ff515cbf",
"created_at": "2016-03-14T22:30:50Z",
"updated_at": "2016-03-14T22:30:50Z"
},
"entity": {
"name": "name-2354",
"rules": [
{
"protocol": "udp",
"ports": "8080",
"destination": "198.41.191.47/1"
}
],
"running_default": true,
"staging_default": false
}
}
Headers