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.eyJ1c2VyX2lkIjoidWFhLWlkLTMyIiwiZW1haWwiOiJlbWFpbC0zMkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDM5NDI2MTkyfQ.OwzsEwd5nWeRDkQxI02tmbO84JLoOKDsndU9GDpxQXQ" \
-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": "fe41ee29-203b-475e-a0a7-8ca23bfd9529",
"url": "/v2/config/staging_security_groups/fe41ee29-203b-475e-a0a7-8ca23bfd9529",
"created_at": "2015-08-06T00:36:32Z",
"updated_at": null
},
"entity": {
"name": "name-73",
"rules": [
{
"protocol": "udp",
"ports": "8080",
"destination": "198.41.191.47/1"
}
],
"running_default": false,
"staging_default": true
}
}
]
}
Headers