Networking

List security groups

Changed on

List the account's security groups. Pass X-Project-ID to scope to one project, or omit it to list across all accessible projects.

get/api/v1/security-groups

Request

  • Base URL
    https://api.rafftechnologies.com
  • URL
    https://api.rafftechnologies.com/api/v1/security-groups
  • Auth
    API key in header X-API-Key

Headers

X-Project-IDstring uuid

Response

List of security groups

successboolean

Example response

{
  "data": [
    {
      "name": "web-server",
      "rules": [
        {
          "range": "80",
          "ip": "0.0.0.0"
        }
      ]
    }
  ]
}

Changes