{
  "opencollection": "1.0.0",
  "info": {
    "name": "ClimateAI Platform Account Config API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "account_config",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get all account configurations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/account_config/"
          }
        },
        {
          "info": {
            "name": "Create account configurations",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/account_config/",
            "body": {
              "type": "json",
              "data": "{}"
            }
          }
        },
        {
          "info": {
            "name": "fetch all configuration for an account",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/account_config/account/:account_id",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "The account id related to config"
              },
              {
                "name": "config_type",
                "value": "",
                "type": "query",
                "description": "Filter by config type"
              }
            ]
          }
        },
        {
          "info": {
            "name": "delete configuration for an account",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "/account_config/account/:account_id",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "The account id related to config"
              }
            ]
          }
        },
        {
          "info": {
            "name": "Delete account configurations by id",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/account_config/delete",
            "body": {
              "type": "json",
              "data": "{}"
            }
          }
        },
        {
          "info": {
            "name": "fetch an account config object",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/account_config/:account_config_id",
            "params": [
              {
                "name": "account_config_id",
                "value": "",
                "type": "path",
                "description": "The id of the config object"
              }
            ]
          }
        },
        {
          "info": {
            "name": "update an account config",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "/account_config/:account_config_id",
            "params": [
              {
                "name": "account_config_id",
                "value": "",
                "type": "path",
                "description": "The id of the config object"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          }
        },
        {
          "info": {
            "name": "delete an account config by id",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "/account_config/:account_config_id",
            "params": [
              {
                "name": "account_config_id",
                "value": "",
                "type": "path",
                "description": "The id of the config object"
              }
            ]
          }
        }
      ]
    }
  ],
  "bundled": true
}