Retrieve a Particular Security Group
GET /v2/security_groups/:guid
Request
Route
GET /v2/security_groups/260ba675-47b6-4094-be7a-349d58e3d36a
Headers
cURL
curl "https://api.[your-domain.com]/v2/security_groups/260ba675-47b6-4094-be7a-349d58e3d36a" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQxMSIsImVtYWlsIjoiZW1haWwtMjczQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjM2MTg3Mjd9.FkkT_K-FQlK-5HMcSfkYqaUywb96S9Az2nsRBBjmAfo" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "260ba675-47b6-4094-be7a-349d58e3d36a",
"url": "/v2/security_groups/260ba675-47b6-4094-be7a-349d58e3d36a",
"created_at": "2016-05-12T00:45:10Z",
"updated_at": null
},
"entity": {
"name": "dummy1",
"rules": [
],
"running_default": false,
"staging_default": false,
"spaces_url": "/v2/security_groups/260ba675-47b6-4094-be7a-349d58e3d36a/spaces"
}
}
Headers