def get_subaccounts(self, recursive=False):
return PaginatedList(<EOL>Account,<EOL>self._requester,<EOL>'<STR_LIT:GET>',<EOL>'<STR_LIT>'.format(self.id),<EOL>recursive=recursive<EOL>)<EOL>
List accounts that are sub-accounts of the given account.

:calls: `GET /api/v1/accounts/:account_id/sub_accounts \
<https://canvas.instructure.com/doc/api/accounts.html#method.accounts.sub_accounts>`_

:param recursive: If true, the entire account tree underneath this account will \
be returned. If false, only direct sub-accounts of this  account will be returned.
:type recursive: bool
:rtype: :class:`canvasapi.paginated_list.PaginatedList` of
    :class:`canvasapi.account.Account`