Return the Security Groups used for staging
GET /v2/config/staging_security_groups
Request
Route
GET /v2/config/staging_security_groups
Body
Name |
Description |
Default |
Valid Values |
Example Values |
Headers
cURL
curl "https://api.[your-domain.com]/v2/config/staging_security_groups" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIzOCIsImVtYWlsIjoiZW1haWwtMTg3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzUxMDI4NTZ9.tQOpUaL2dNWpRUYDc6cPeELgj5rUBYFK9vnyijxyuDE" \
-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": "bd9db11a-847f-44a1-b89d-b6d4d9e94cf9",
"url": "/v2/config/staging_security_groups/bd9db11a-847f-44a1-b89d-b6d4d9e94cf9",
"created_at": "2015-06-16T23:40:56Z",
"updated_at": null
},
"entity": {
"name": "name-925",
"rules": [
{
"protocol": "udp",
"ports": "8080",
"destination": "198.41.191.47/1"
}
],
"running_default": false,
"staging_default": true
}
}
]
}
Headers