Return the Security Groups used for running Apps
GET /v2/config/running_security_groups
Request
Route
GET /v2/config/running_security_groups
Body
Name |
Description |
Default |
Valid Values |
Example Values |
Headers
cURL
curl "https://api.[your-domain.com]/v2/config/running_security_groups" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEiLCJlbWFpbCI6ImVtYWlsLTFAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNjYzMzg5M30.aZAiAWqaqDauZ80Bi6SmbKy39c-GEIVQs2xtJuayquA" \
-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": "3ddcf9b9-c203-48f9-be74-448ba1ae3e1b",
"url": "/v2/config/running_security_groups/3ddcf9b9-c203-48f9-be74-448ba1ae3e1b",
"created_at": "2015-03-10T23:11:32Z",
"updated_at": null
},
"entity": {
"name": "name-2",
"rules": [
{
"protocol": "udp",
"ports": "8080",
"destination": "198.41.191.47/1"
}
],
"running_default": true,
"staging_default": false
}
}
]
}
Headers