# Account Types ## Get tenant account types `client.tenants.accountTypes.list(stringtenantId, RequestOptionsoptions?): SinglePage` **get** `/tenants/{tenant_id}/account_types` List of account types available for the Tenant to provision accounts. ### Parameters - `tenantId: string` ### Returns - `AccountTypeListResponse = string` ### Example ```node import Cloudflare from 'cloudflare'; const client = new Cloudflare({ apiEmail: process.env['CLOUDFLARE_EMAIL'], // This is the default and can be omitted apiKey: process.env['CLOUDFLARE_API_KEY'], // This is the default and can be omitted }); // Automatically fetches more pages as needed. for await (const accountTypeListResponse of client.tenants.accountTypes.list('tenant_id')) { console.log(accountTypeListResponse); } ``` #### Response ```json { "errors": [], "messages": [ { "code": 1000, "message": "message", "documentation_url": "documentation_url", "source": { "pointer": "pointer" } } ], "result": [ "string" ], "success": true } ``` ## Domain Types ### Account Type List Response - `AccountTypeListResponse = string`