code: func (c *Cluster) RemoveSecret(input string) error {
  	return c.lockedManagerAction(func(ctx context.Context, state nodeState) error {
  		secret, err := getSecret(ctx, state.controlClient, input)
  		if err != nil {
  			return err
  		}
  
  		req := &swarmapi.RemoveSecretRequest{
  			SecretID: secret.ID,
  		}
  
  		_, err = state.controlClient.RemoveSecret(ctx, req)
  		return err
  	})
  }
docs: // RemoveSecret removes a secret from a managed swarm cluster.