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/c7c5a850-ec41-412e-87d0-d0207c5ff8e0
cURL
curl "https://api.[your-domain.com]/v2/config/running_security_groups/c7c5a850-ec41-412e-87d0-d0207c5ff8e0" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIwIiwiZW1haWwiOiJlbWFpbC0yMEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDE1NzU0MTMwfQ.wqmAJd2NNtYy-8Q8iPIkoXJNEQ5tgwFp78pKazke8t0" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Headers
Status
200 OK
Body
{
"metadata": {
"guid": "c7c5a850-ec41-412e-87d0-d0207c5ff8e0",
"url": "/v2/config/running_security_groups/c7c5a850-ec41-412e-87d0-d0207c5ff8e0",
"created_at": "2014-11-05T01:02:10+00:00",
"updated_at": "2014-11-05T01:02:10+00:00"
},
"entity": {
"name": "name-79",
"rules": [
{
"protocol": "udp",
"ports": "8080",
"destination": "198.41.191.47/1"
}
],
"running_default": true,
"staging_default": false
}
}