code: func (c *Client) DeleteUserResourceMapping(ctx context.Context, resourceID platform.ID, userID platform.ID) error {
  	return c.db.Update(func(tx *bolt.Tx) error {
  		m, err := c.findUserResourceMapping(ctx, tx, platform.UserResourceMappingFilter{
  			ResourceID: resourceID,
  			UserID:     userID,
  		})
  		if err != nil {
  			return err
  		}
  
  		if err := c.deleteUserResourceMapping(ctx, tx, platform.UserResourceMappingFilter{
  			ResourceID: resourceID,
  			UserID:     userID,
  		}); err != nil {
  			return err
  		}
  
  		if m.Resource == platform.OrgsResource {
  			return c.deleteOrgDependentMappings(ctx, tx, m)
  		}
  
  		return nil
  	})
  }
docs: // DeleteUserResourceMapping deletes a user resource mapping.