> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# appmixer.xero.accounting.ListTenants

- Component: `appmixer.xero.accounting.ListTenants`
- Kind: Action
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.xero 2.3.0](https://connectors.appmixer.com/connector/appmixer.xero/2.3.0.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.xero/2.3.0/component/appmixer.xero.accounting.ListTenants>

List tenants/organizations.

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| Output Type (`outputType`) | select | Choose whether you want to receive the result set as one complete list, or one item at a time or stream the items to a file. For large datasets, streaming the rows to a file is the most efficient method. |

## Output ports

### Port `tenants`

Variables are loaded dynamically from `/component/appmixer/xero/accounting/ListTenants?outPort=tenants&ignoreAuth=true`.

## Full metadata (component.json)

```json
{
  "name": "appmixer.xero.accounting.ListTenants",
  "author": "Jiri Hofman <jirka@client.io>",
  "description": "List tenants/organizations.",
  "private": false,
  "auth": {
    "service": "appmixer:xero",
    "scope": [
      "accounting.settings.read"
    ]
  },
  "quota": {
    "manager": "appmixer:xero:accounting",
    "resources": "requests",
    "scope": {
      "userId": "{{userId}}"
    }
  },
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "type": "object",
        "properties": {
          "outputType": {
            "type": "string"
          }
        }
      },
      "inspector": {
        "inputs": {
          "outputType": {
            "type": "select",
            "label": "Output Type",
            "index": 1,
            "defaultValue": "items",
            "tooltip": "Choose whether you want to receive the result set as one complete list, or one item at a time or stream the items to a file. For large datasets, streaming the rows to a file is the most efficient method.",
            "options": [
              {
                "label": "All at once",
                "value": "items"
              },
              {
                "label": "One at a time",
                "value": "item"
              },
              {
                "label": "File",
                "value": "file"
              }
            ]
          }
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "tenants",
      "source": {
        "url": "/component/appmixer/xero/accounting/ListTenants?outPort=tenants&ignoreAuth=true",
        "data": {
          "properties": {
            "generateOutputPortOptions": true
          },
          "messages": {
            "in/outputType": "inputs/in/outputType"
          }
        }
      }
    }
  ],
  "icon": "(data URI omitted)"
}
```
