Return the Security Groups used for running Apps
GET /v2/config/running_security_groups
Fields
Name |
Description |
Default |
Valid Values |
Example Values |
Request
Headers
Route
GET /v2/config/running_security_groups
cURL
curl "https://api.[your-domain.com]/v2/config/running_security_groups" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE0IiwiZW1haWwiOiJlbWFpbC0xNEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDE5OTg5OTYxfQ.UOE-7V70GJpxPw7-5hxgIfJPAN_4Lv1HQXbM1DbC_HM" \
-H "Host: example.org" \
-H "Cookie: "
Response
Headers
Status
200 OK
Body
{
"total_results": 1,
"total_pages": 1,
"prev_url": null,
"next_url": null,
"resources": [
{
"metadata": {
"guid": "8a557972-b80b-4087-8643-560866aed6b6",
"url": "/v2/config/running_security_groups/8a557972-b80b-4087-8643-560866aed6b6",
"created_at": "2014-12-24T01:39:21+00:00",
"updated_at": null
},
"entity": {
"name": "name-11",
"rules": [
{
"protocol": "udp",
"ports": "8080",
"destination": "198.41.191.47/1"
}
],
"running_default": true,
"staging_default": false
}
}
]
}