{
  "opencollection": "1.0.0",
  "info": {
    "name": "Aloft API V1 Accounts API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Accounts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get account list.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.aloft.ai/v1/accounts",
            "params": [
              {
                "name": "order_by",
                "value": "",
                "type": "query",
                "description": "The field to order the data by"
              },
              {
                "name": "order",
                "value": "",
                "type": "query"
              },
              {
                "name": "page",
                "value": "",
                "type": "query"
              },
              {
                "name": "page_length",
                "value": "",
                "type": "query"
              },
              {
                "name": "appends[]",
                "value": "",
                "type": "query",
                "description": "Array of appendable resource names"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieves all accounts the user has access to."
        },
        {
          "info": {
            "name": "Request account deletion",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.aloft.ai/v1/accounts/:account_id/delete",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Request account deletion"
        },
        {
          "info": {
            "name": "Update account settings",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.aloft.ai/v1/accounts/:account_id/settings",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Update account settings"
        }
      ]
    }
  ],
  "bundled": true
}