Return the Security Groups used for running Apps
GET /v2/config/running_security_groups
Request
Route
GET /v2/config/running_security_groups
Parameters
Name |
Description |
Valid Values |
Example Values |
page
|
Page of results to fetch
|
|
|
results-per-page
|
Number of results per page
|
|
|
order-direction
|
Order of the results: asc (default) or desc
|
|
|
Headers
cURL
curl "https://api.[your-domain.com]/v2/config/running_security_groups" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE0IiwiZW1haWwiOiJlbWFpbC0xNEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDYzNjE4NzA0fQ.0lpPRdyj49M23NVs7BMpNFF9v8CW0Ib849oVeENo7rU" \
-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": "3029c93e-d442-46d9-b741-f9332fed139f",
"url": "/v2/config/running_security_groups/3029c93e-d442-46d9-b741-f9332fed139f",
"created_at": "2016-05-12T00:45:04Z",
"updated_at": null
},
"entity": {
"name": "name-41",
"rules": [
{
"protocol": "udp",
"ports": "8080",
"destination": "198.41.191.47/1"
}
],
"running_default": true,
"staging_default": false
}
}
]
}
Headers