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

Authorizations

Authorization
string
header
required

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

Path Parameters

projectId
string
required

Query Parameters

dataCenterId
string
pageNumber
integer
pageSize
integer

Response

A successful response.

pageNumber
integer
required
pageSize
integer
required
securityGroups
object[]
required
totalCount
integer
required