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.eyJ1c2VyX2lkIjoidWFhLWlkLTQzNyIsImVtYWlsIjoiZW1haWwtMzA2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjA1MDY2NjN9.UIVAlzwpv5k2ZrXSN-lh21hAn-5kPYpZ6HiyZjHM-rE" \
-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": "f2e9f336-37dd-430f-ade7-be94e9ddbc8b",
"url": "/v2/config/staging_security_groups/f2e9f336-37dd-430f-ade7-be94e9ddbc8b",
"created_at": "2016-04-06T00:17:43Z",
"updated_at": null
},
"entity": {
"name": "name-2372",
"rules": [
{
"protocol": "udp",
"ports": "8080",
"destination": "198.41.191.47/1"
}
],
"running_default": false,
"staging_default": true
}
}
]
}
Headers