Isn't this basically doing multiple 0..N DELETE and then a POST request? 
https://github.com/stormpath/stormpath-sdk-java/blob/master/impl/src/main/java/com/stormpath/sdk/impl/directory/DefaultCustomData.java#L201-L217