# Account Types ## Get tenant account types `client.Tenants.AccountTypes.List(ctx, tenantID) (*SinglePage[string], error)` **get** `/tenants/{tenant_id}/account_types` List of account types available for the Tenant to provision accounts. ### Parameters - `tenantID string` ### Returns - `type AccountTypeListResponseEnvelopeResult string` ### Example ```go package main import ( "context" "fmt" "github.com/cloudflare/cloudflare-go" "github.com/cloudflare/cloudflare-go/option" ) func main() { client := cloudflare.NewClient( option.WithAPIKey("144c9defac04969c7bfad8efaa8ea194"), option.WithAPIEmail("user@example.com"), ) page, err := client.Tenants.AccountTypes.List(context.TODO(), "tenant_id") if err != nil { panic(err.Error()) } fmt.Printf("%+v\n", page) } ``` #### Response ```json { "errors": [], "messages": [ { "code": 1000, "message": "message", "documentation_url": "documentation_url", "source": { "pointer": "pointer" } } ], "result": [ "string" ], "success": true } ```