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/f177c618-9077-42e4-8632-8b37a2e2caac
Body
Name |
Description |
Default |
Valid Values |
Example Values |
Headers
cURL
curl "https://api.[your-domain.com]/v2/config/running_security_groups/f177c618-9077-42e4-8632-8b37a2e2caac" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI3MCIsImVtYWlsIjoiZW1haWwtMjAyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mjc0ODA4NjN9.a1Xc147LR5pjJPeeONSu9dVKvFfbjNU7bPxUTWRPTV0" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "f177c618-9077-42e4-8632-8b37a2e2caac",
"url": "/v2/config/running_security_groups/f177c618-9077-42e4-8632-8b37a2e2caac",
"created_at": "2015-03-20T18:27:43Z",
"updated_at": "2015-03-20T18:27:43Z"
},
"entity": {
"name": "name-1700",
"rules": [
{
"protocol": "udp",
"ports": "8080",
"destination": "198.41.191.47/1"
}
],
"running_default": true,
"staging_default": false
}
}
Headers