---
title: Accounts
---

[Skip to content](#%5Ftop) 

[API Reference](https://developers.cloudflare.com/api/go)

[Tenants](https://developers.cloudflare.com/api/go/resources/tenants)

Copy Markdown

Open in **Claude**

Open in **ChatGPT**

Open in **Cursor**

---

**Copy Markdown**

**View as Markdown**

# Accounts

##### [List tenant accounts](https://developers.cloudflare.com/api/go/resources/tenants/subresources/accounts/methods/list)

client.Tenants.Accounts.List(ctx, tenantID) (\*SinglePage\[[TenantAccount](https://developers.cloudflare.com/api/go/resources/tenants#%28resource%29%20tenants.accounts%20%3E%20%28model%29%20tenant%5Faccount%20%3E%20%28schema%29)\], error)

GET/tenants/{tenant\_id}/accounts

##### ModelsExpand Collapse 

type TenantAccount struct{…}

ID string

CreatedOn Time

formatdate-time

Name string

Settings TenantAccountSettings

AbuseContactEmail string

AccessApprovalExpiry Time

formatdate-time

APIAccessEnabled bool

DeprecatedDefaultNameservers string

Use [DNS Settings](https://developers.cloudflare.com/api/operations/dns-settings-for-an-account-list-dns-settings) instead. Deprecated.

EnforceTwofactor bool

DeprecatedUseAccountCustomNSByDefault bool

Use [DNS Settings](https://developers.cloudflare.com/api/operations/dns-settings-for-an-account-list-dns-settings) instead. Deprecated.

Type TenantAccountType

One of the following:

const TenantAccountTypeStandard TenantAccountType \= "standard"

const TenantAccountTypeEnterprise TenantAccountType \= "enterprise"

Tags map\[string, string\]Optional

Account tags, present only when `include_tags=true` is requested.