code: func Delete(c context.Context, cfg Config) error {
  	// Attempt to acquire the environment's lock.
  	e, err := cfg.makeEnv(c, nil)
  	if err != nil {
  		return err
  	}
  	return e.Delete(c)
  }
docs: // Delete removes all resources consumed by an environment.
  //
  // Delete will acquire an exclusive lock on the environment and assert that it
  // is not in use prior to deletion. This is non-blocking, and an error will be
  // returned if the lock could not be acquired.
  //
  // If deletion fails, a wrapped error will be returned.