code: func (s *Server) RemoveResource(ctx context.Context, request *api.RemoveResourceRequest) (*api.RemoveResourceResponse, error) {
  	if request.ResourceID == "" {
  		return nil, status.Errorf(codes.InvalidArgument, "resource ID must be present")
  	}
  	err := s.store.Update(func(tx store.Tx) error {
  		return store.DeleteResource(tx, request.ResourceID)
  	})
  	switch err {
  	case store.ErrNotExist:
  		return nil, status.Errorf(codes.NotFound, "resource %s not found", request.ResourceID)
  	case nil:
  		return &api.RemoveResourceResponse{}, nil
  	default:
  		return nil, err
  	}
  }
docs: // RemoveResource removes the `Resource` referenced by `RemoveResourceRequest.ResourceID`.
  // - Returns `InvalidArgument` if `RemoveResourceRequest.ResourceID` is empty.
  // - Returns `NotFound` if the a resource named `RemoveResourceRequest.ResourceID` is not found.
  // - Returns an error if the deletion fails.