Retrieve a Particular Security Group
GET /v2/security_groups/:guid
Request
Route
GET /v2/security_groups/94e91c57-bac9-4a3b-8d77-2d0b94238f5c
Headers
cURL
curl "https://api.[your-domain.com]/v2/security_groups/94e91c57-bac9-4a3b-8d77-2d0b94238f5c" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM4MSIsImVtYWlsIjoiZW1haWwtMjcxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDE2NjI2MTZ9.EZNw7AbiCWnS_wE7bnKoJooMsRmoqktFDJ9zpeGSuAA" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "94e91c57-bac9-4a3b-8d77-2d0b94238f5c",
"url": "/v2/security_groups/94e91c57-bac9-4a3b-8d77-2d0b94238f5c",
"created_at": "2015-08-31T21:50:09Z",
"updated_at": null
},
"entity": {
"name": "dummy1",
"rules": [
],
"running_default": false,
"staging_default": false,
"spaces_url": "/v2/security_groups/94e91c57-bac9-4a3b-8d77-2d0b94238f5c/spaces"
}
}
Headers