code: func (b *Remote) DeleteWorkspace(name string) error {
  	if b.workspace == "" && name == backend.DefaultStateName {
  		return backend.ErrDefaultWorkspaceNotSupported
  	}
  	if b.prefix == "" && name != backend.DefaultStateName {
  		return backend.ErrWorkspacesNotSupported
  	}
  
  	// Configure the remote workspace name.
  	switch {
  	case name == backend.DefaultStateName:
  		name = b.workspace
  	case b.prefix != "" && !strings.HasPrefix(name, b.prefix):
  		name = b.prefix + name
  	}
  
  	client := &remoteClient{
  		client:       b.client,
  		organization: b.organization,
  		workspace: &tfe.Workspace{
  			Name: name,
  		},
  	}
  
  	return client.Delete()
  }
docs: // DeleteWorkspace implements backend.Enhanced.