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.eyJ1c2VyX2lkIjoidWFhLWlkLTQ2OSIsImVtYWlsIjoiZW1haWwtMzM3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTY0NTIyNDl9.GUhjIkepQPyqPLdQuF06dtp4YgFEbWBeLKPlJgpGUy0" \
-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": "a7dcb232-d2f4-4668-92f5-fa49b7dbacc8",
"url": "/v2/config/staging_security_groups/a7dcb232-d2f4-4668-92f5-fa49b7dbacc8",
"created_at": "2016-02-19T02:04:09Z",
"updated_at": null
},
"entity": {
"name": "name-2683",
"rules": [
{
"protocol": "udp",
"ports": "8080",
"destination": "198.41.191.47/1"
}
],
"running_default": false,
"staging_default": true
}
}
]
}
Headers