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.eyJ1c2VyX2lkIjoidWFhLWlkLTIzMSIsImVtYWlsIjoiZW1haWwtMTcyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjI5OTA4NzZ9.CoMIJtBl6APO4geIRt5Egld3H_A__2lRINN2SwY7GzM" \
-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": "85be0d3c-2f05-4e5b-a88a-628d0889ce79",
"url": "/v2/config/staging_security_groups/85be0d3c-2f05-4e5b-a88a-628d0889ce79",
"created_at": "2015-01-27T19:14:36Z",
"updated_at": null
},
"entity": {
"name": "name-1429",
"rules": [
{
"protocol": "udp",
"ports": "8080",
"destination": "198.41.191.47/1"
}
],
"running_default": false,
"staging_default": true
}
}
]
}