{
  "opencollection": "1.0.0",
  "info": {
    "name": "NFON Call History Accounts Tenants API",
    "version": "2.0-early-access"
  },
  "items": [
    {
      "info": {
        "name": "Tenants",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "get_224",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.nfon.com/call-history/tenants/:participantExternalIdentifier/audit",
            "params": [
              {
                "name": "participantExternalIdentifier",
                "value": "",
                "type": "path"
              }
            ]
          }
        },
        {
          "info": {
            "name": "get_225",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.nfon.com/call-history/tenants/:participantExternalIdentifier/audit/type",
            "params": [
              {
                "name": "participantExternalIdentifier",
                "value": "",
                "type": "path"
              }
            ]
          }
        },
        {
          "info": {
            "name": "Update tenant",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.nfon.com/call-history/tenants/:tenant",
            "params": [
              {
                "name": "tenant",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates an existing tenant (customer)"
        },
        {
          "info": {
            "name": "Create billing extensions",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.nfon.com/call-history/tenants/:tenant/billing-extensions",
            "params": [
              {
                "name": "tenant",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates spare phone extensions for billing purposes"
        },
        {
          "info": {
            "name": "Unlock tenant",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.nfon.com/call-history/tenants/:tenant/unlock",
            "params": [
              {
                "name": "tenant",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Unlocks a tenant (customer)"
        },
        {
          "info": {
            "name": "Create tenant",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.nfon.com/call-history/tenants",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new tenant (customer)"
        },
        {
          "info": {
            "name": "Stop tenant trial period",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.nfon.com/call-history/tenants/:tenant/stop-trial-period",
            "params": [
              {
                "name": "tenant",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Stops the trial period for a tenant"
        },
        {
          "info": {
            "name": "Purge tenant",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.nfon.com/call-history/tenants/:tenant/purge",
            "params": [
              {
                "name": "tenant",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Purges a tenant (customer) and all associated data"
        },
        {
          "info": {
            "name": "Lock tenant",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.nfon.com/call-history/tenants/:tenant/lock",
            "params": [
              {
                "name": "tenant",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Locks a tenant (customer)"
        }
      ]
    }
  ],
  "bundled": true
}