Skip to main content
GET
/
v1
/
projects
/
{projectId}
/
security-groups
/
{id}
Get a security group
curl --request GET \
  --url https://rest.compute.cudo.org/v1/projects/{projectId}/security-groups/{id} \
  --header 'Authorization: <api-key>'
{
  "dataCenterId": "<string>",
  "description": "<string>",
  "id": "<string>",
  "projectId": "<string>",
  "rules": [
    {
      "icmpType": "<string>",
      "id": "<string>",
      "ipRangeCidr": "<string>",
      "ports": "<string>",
      "protocol": "PROTOCOL_UNKNOWN",
      "ruleType": "RULE_TYPE_UNKNOWN"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer HTTP authentication. Allowed headers-- Authorization: Bearer <api_key>

Path Parameters

projectId
string
required
id
string
required

Response

A successful response.

dataCenterId
string
required
id
string
required
description
string
projectId
string
rules
object[]