Return the Security Groups used for staging
GET /v2/config/staging_security_groups
Request
Route
GET /v2/config/staging_security_groups
Headers
cURL
curl "https://api.[your-domain.com]/v2/config/staging_security_groups" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEyOSIsImVtYWlsIjoiZW1haWwtOTZAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ1MzMxMDk3N30.crUUD1OdQlPqt8hw42X74_OhX7Kl1uJ4nowBp98NHMg" \
-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": "c5b5a356-a533-4473-936b-8f44ab9914cf",
"url": "/v2/config/staging_security_groups/c5b5a356-a533-4473-936b-8f44ab9914cf",
"created_at": "2016-01-13T17:29:37Z",
"updated_at": null
},
"entity": {
"name": "name-480",
"rules": [
{
"protocol": "udp",
"ports": "8080",
"destination": "198.41.191.47/1"
}
],
"running_default": false,
"staging_default": true
}
}
]
}
Headers