Set a Security Group as a default for running Apps
PUT /v2/config/running_security_groups/:guid
Fields
Name |
Description |
Default |
Valid Values |
Example Values |
Request
Headers
Route
PUT /v2/config/running_security_groups/f4cdedbe-cc71-4e76-ba39-cde27577f5d6
cURL
curl "https://api.[your-domain.com]/v2/config/running_security_groups/f4cdedbe-cc71-4e76-ba39-cde27577f5d6" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMxOSIsImVtYWlsIjoiZW1haWwtMjIyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQxMzczNzR9.CgsYIX3mTYww9Ge1AuJkbkFQvT4MTP4pudznKQwUc_w" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Headers
Status
200 OK
Body
{
"metadata": {
"guid": "f4cdedbe-cc71-4e76-ba39-cde27577f5d6",
"url": "/v2/config/running_security_groups/f4cdedbe-cc71-4e76-ba39-cde27577f5d6",
"created_at": "2015-02-10T01:42:54Z",
"updated_at": "2015-02-10T01:42:54Z"
},
"entity": {
"name": "name-1538",
"rules": [
{
"protocol": "udp",
"ports": "8080",
"destination": "198.41.191.47/1"
}
],
"running_default": true,
"staging_default": false
}
}