cURL
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 }
Lists all security groups in a project.
Bearer HTTP authentication. Allowed headers-- Authorization: Bearer <api_key>
A successful response.
Show child attributes
Was this page helpful?