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.eyJ1c2VyX2lkIjoidWFhLWlkLTE2MyIsImVtYWlsIjoiZW1haWwtMTI2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTY1MjY3MDR9.LZThxzxmJ7z_HSgdCUPPwHN5qxnVE9TD870mAgp-KBw" \
-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": "fc05c8fc-5f8a-438d-8eb8-922ef34ea43d",
"url": "/v2/config/staging_security_groups/fc05c8fc-5f8a-438d-8eb8-922ef34ea43d",
"created_at": "2014-11-13T23:38:24+00:00",
"updated_at": null
},
"entity": {
"name": "name-704",
"rules": [
{
"protocol": "udp",
"ports": "8080",
"destination": "198.41.191.47/1"
}
],
"running_default": false,
"staging_default": true
}
}
]
}