code: public ServiceCall<Void> deleteSession(DeleteSessionOptions deleteSessionOptions) {
      Validator.notNull(deleteSessionOptions, "deleteSessionOptions cannot be null");
      String[] pathSegments = { "v2/assistants", "sessions" };
      String[] pathParameters = { deleteSessionOptions.assistantId(), deleteSessionOptions.sessionId() };
      RequestBuilder builder = RequestBuilder.delete(RequestBuilder.constructHttpUrl(getEndPoint(), pathSegments,
          pathParameters));
      builder.query("version", versionDate);
      Map<String, String> sdkHeaders = SdkCommon.getSdkHeaders("conversation", "v2", "deleteSession");
      for (Entry<String, String> header : sdkHeaders.entrySet()) {
        builder.header(header.getKey(), header.getValue());
      }
      builder.header("Accept", "application/json");
      return createServiceCall(builder.build(), ResponseConverterUtils.getVoid());
    }
docs: Delete session.
  
  Deletes a session explicitly before it times out.
  
  @param deleteSessionOptions the {@link DeleteSessionOptions} containing the options for the call
  @return a {@link ServiceCall} with a response type of Void