def api_delete_comments(id, request): ''' ??????. ''' check_admin(request) c = await Comment.find(id) if c is None: raise APIResourceNotFoundError('Comment') await c.remove() return dict(id = id)