{
  "opencollection": "1.0.0",
  "info": {
    "name": "AcxApi Production Hierarchy API",
    "version": "v1"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://api.beauthenticx.com/connect/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Hierarchy",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create Hierarchy",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.beauthenticx.com/Hierarchy",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Adds a hierarchy to your organization."
        },
        {
          "info": {
            "name": "Update Hierarchy",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.beauthenticx.com/Hierarchy/:HierarchyId",
            "params": [
              {
                "name": "HierarchyId",
                "value": "",
                "type": "path",
                "description": "UUID of the hierarchy to update"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates information about an existing hierarchy in your organization."
        },
        {
          "info": {
            "name": "Get All Hierarchies",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.beauthenticx.com/Hierarchy/All",
            "params": [
              {
                "name": "IsActive",
                "value": "",
                "type": "query",
                "description": "Filter by active (true) or inactive (false) hierarchies. Omit to return all"
              }
            ]
          },
          "docs": "Returns a list of all active hierarchies in your organization along with their contacts."
        }
      ]
    }
  ],
  "bundled": true
}