Return the Security Groups used for running Apps
GET /v2/config/running_security_groups
Request
Route
GET /v2/config/running_security_groups
Headers
cURL
curl "https://api.[your-domain.com]/v2/config/running_security_groups" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI5OCIsImVtYWlsIjoiZW1haWwtMjI5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDcxMTY4NDZ9.PZ7HIDZ_p9-jGeEBEM4EWcXWnpqv3LiGVl55HfLLGHw" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"total_results": 1,
"total_pages": 1,
"prev_url": null,
"next_url": null,
"resources": [
{
"metadata": {
"guid": "d3fa92d4-b8eb-4e6d-bc69-1b0a1d521182",
"url": "/v2/config/running_security_groups/d3fa92d4-b8eb-4e6d-bc69-1b0a1d521182",
"created_at": "2015-11-03T00:54:06Z",
"updated_at": null
},
"entity": {
"name": "name-1198",
"rules": [
{
"protocol": "udp",
"ports": "8080",
"destination": "198.41.191.47/1"
}
],
"running_default": true,
"staging_default": false
}
}
]
}
Headers