{
  "opencollection": "1.0.0",
  "info": {
    "name": "Exoscale ai-api-key API",
    "version": "2.0.0"
  },
  "items": [
    {
      "info": {
        "name": "ai-api-key",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List AI API Keys",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api-{zone}.exoscale.com/v2/ai/ai-api-key"
          },
          "docs": "List AI API keys for an organization"
        },
        {
          "info": {
            "name": "Create AI API Key",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api-{zone}.exoscale.com/v2/ai/ai-api-key",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new AI API key"
        },
        {
          "info": {
            "name": "Get AI API Key",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api-{zone}.exoscale.com/v2/ai/ai-api-key/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get AI API key metadata"
        },
        {
          "info": {
            "name": "Update AI API Key",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api-{zone}.exoscale.com/v2/ai/ai-api-key/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update AI API key name and/or scope"
        },
        {
          "info": {
            "name": "Delete AI API Key",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api-{zone}.exoscale.com/v2/ai/ai-api-key/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete AI API key"
        },
        {
          "info": {
            "name": "Rotate AI API Key",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api-{zone}.exoscale.com/v2/ai/ai-api-key/:id/rotate",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Rotate AI API key value"
        }
      ]
    }
  ],
  "bundled": true
}