def METHOD_NAME(api2):
    accounts = api2.admin_accounts_v2(permissions="staff", origin="local")
    assert accounts
    assert len(accounts) > 0
    account_self = api2.account_verify_credentials()
    account_admin = api2.admin_account(account_self)
    assert(account_admin)
    assert(account_admin.id == account_self.id)
    accounts = api2.admin_accounts_v2(permissions="staff", origin="remote")
    assert len(accounts) == 0
    with pytest.raises(MastodonIllegalArgumentError):
        accounts = api2.admin_accounts_v2(permissions="stave")
    with pytest.raises(MastodonIllegalArgumentError):
        accounts = api2.admin_accounts_v2(origin="global")
    with pytest.raises(MastodonIllegalArgumentError):
        accounts = api2.admin_accounts_v2(status="sick")