Retrieve a Particular Security Group
GET /v2/security_groups/:guid
Request
Route
GET /v2/security_groups/8b5d04f3-798c-45d6-98d1-a79300b02370
Headers
cURL
curl "https://api.[your-domain.com]/v2/security_groups/8b5d04f3-798c-45d6-98d1-a79300b02370" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM2MSIsImVtYWlsIjoiZW1haWwtMjYxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTY0NTIyNDN9.ZEtF8UlJOBA5eNInbhHxv4R0XAW1FLhYmuYfbbyjvq8" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "8b5d04f3-798c-45d6-98d1-a79300b02370",
"url": "/v2/security_groups/8b5d04f3-798c-45d6-98d1-a79300b02370",
"created_at": "2016-02-19T02:03:49Z",
"updated_at": null
},
"entity": {
"name": "dummy1",
"rules": [
],
"running_default": false,
"staging_default": false,
"spaces_url": "/v2/security_groups/8b5d04f3-798c-45d6-98d1-a79300b02370/spaces"
}
}
Headers