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/4e1ee696-9fba-4ce6-80da-4f2696cd0350
Body
Name |
Description |
Default |
Valid Values |
Example Values |
Headers
cURL
curl "https://api.[your-domain.com]/v2/config/running_security_groups/4e1ee696-9fba-4ce6-80da-4f2696cd0350" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI3MyIsImVtYWlsIjoiZW1haWwtMTkwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzM5ODExMTN9.zzEajC__l1adpOWKGCWQ_jcdVziYdSWH3sIgvrpMcDo" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "4e1ee696-9fba-4ce6-80da-4f2696cd0350",
"url": "/v2/config/running_security_groups/4e1ee696-9fba-4ce6-80da-4f2696cd0350",
"created_at": "2015-06-04T00:05:13Z",
"updated_at": "2015-06-04T00:05:13Z"
},
"entity": {
"name": "name-1704",
"rules": [
{
"protocol": "udp",
"ports": "8080",
"destination": "198.41.191.47/1"
}
],
"running_default": true,
"staging_default": false
}
}
Headers