{
  "opencollection": "1.0.0",
  "info": {
    "name": "Business Central Administration Center Accounts Storage API",
    "version": "2.28"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://login.microsoftonline.com/{tenantId}/oauth2/v2.0/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Storage",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Environment Storage Usage",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.businesscentral.dynamics.com/admin/v2.28/applications/:applicationFamily/environments/:environmentName/usedstorage",
            "params": [
              {
                "name": "applicationFamily",
                "value": "",
                "type": "path",
                "description": "The application family (e.g., BusinessCentral)"
              },
              {
                "name": "environmentName",
                "value": "",
                "type": "path",
                "description": "The name of the environment"
              }
            ]
          },
          "docs": "Returns used storage information for the specified environment."
        },
        {
          "info": {
            "name": "Get Storage Usage for All Environments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.businesscentral.dynamics.com/admin/v2.28/environments/usedstorage"
          },
          "docs": "Returns storage usage information for all environments."
        },
        {
          "info": {
            "name": "Get Allowed Quotas",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.businesscentral.dynamics.com/admin/v2.28/environments/quotas"
          },
          "docs": "Returns the different types of quotas and their limits."
        }
      ]
    }
  ],
  "bundled": true
}