Return the Security Groups used for staging
GET /v2/config/staging_security_groups
Fields
Name |
Description |
Default |
Valid Values |
Example Values |
Request
Headers
Route
GET /v2/config/staging_security_groups
cURL
curl "https://api.[your-domain.com]/v2/config/staging_security_groups" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM3OCIsImVtYWlsIjoiZW1haWwtMjgwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjIzMjM1NTV9.0u-N3WzM6Kjwx6ekl4FUeQ8VwrY1YWwmPQi3SBhCeVw" \
-H "Host: example.org" \
-H "Cookie: "
Response
Headers
Status
200 OK
Body
{
"total_results": 1,
"total_pages": 1,
"prev_url": null,
"next_url": null,
"resources": [
{
"metadata": {
"guid": "37938c76-390a-4853-b28d-206de534d1e8",
"url": "/v2/config/staging_security_groups/37938c76-390a-4853-b28d-206de534d1e8",
"created_at": "2015-01-20T01:52:34+00:00",
"updated_at": null
},
"entity": {
"name": "name-1984",
"rules": [
{
"protocol": "udp",
"ports": "8080",
"destination": "198.41.191.47/1"
}
],
"running_default": false,
"staging_default": true
}
}
]
}