List Security Groups.

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://openapi-v2.exoscale.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
"Exoscale APIv2 MCP server": {
  "url": "https://openapi-v2.exoscale.com/mcp"
}
Close
GET /security-group

Lists security groups. When visibility is set to public, lists public security groups. Public security groups are objects maintained by Exoscale which contain source addresses for relevant services hosted by Exoscale. They can be used a source in ingress rules and as a destination in egress rules.

Query parameters

  • visibility string

    Values are private or public.

Responses

  • 200 application/json

    200

    Hide response attribute Show response attribute object
    • security-groups array[object]
      Hide security-groups attributes Show security-groups attributes object

      Security Group

      • id string(uuid)

        Security Group ID

      • name string

        Security Group name

        Minimum length is 1, maximum length is 255.

      • description string

        Security Group description

        Maximum length is 255.

      • external-sources array[string]

        Security Group external sources

GET /security-group
curl \
 --request GET 'https://api-ch-gva-2.exoscale.com/v2/security-group'
Response examples (200)
{
  "security-groups": [
    {
      "id": "string",
      "name": "string",
      "description": "string",
      "external-sources": [
        "string"
      ]
    }
  ]
}