create portal with data passed in rather than create empty portal than try to update it with data
create portal with data passed in rather than create empty portal than try to update it with data

ClearBlade/Go-SDK