code: def delete_external_account(resource_root, name):
    
    return call(resource_root.delete,
        EXTERNAL_ACCOUNT_FETCH_PATH % ("delete", name,),
        ApiExternalAccount, False)
docs: Delete an external account by name
    @param resource_root: The root Resource object.
    @param name: Account name
    @return: The deleted ApiExternalAccount object