{
  "opencollection": "1.0.0",
  "info": {
    "name": "Neon Management API Keys API",
    "version": "2.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "API Keys",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List API keys",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://console.neon.tech/api/v2/api_keys"
          },
          "docs": "Retrieves a list of API keys for the authenticated user."
        },
        {
          "info": {
            "name": "Create an API key",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://console.neon.tech/api/v2/api_keys",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new API key for the authenticated user. The full key value is only returned in this response and cannot be retrieved again."
        },
        {
          "info": {
            "name": "Revoke an API key",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://console.neon.tech/api/v2/api_keys/:key_id",
            "params": [
              {
                "name": "key_id",
                "value": "",
                "type": "path",
                "description": "The API key ID"
              }
            ]
          },
          "docs": "Revokes the specified API key. A revoked key can no longer be used to authenticate API requests."
        }
      ]
    }
  ],
  "bundled": true
}