public Optional < PartnerUser > create ( long partnerId , long accountId , PartnerUser user ) { return Optional . of ( HTTP . POST ( String . format ( "/v2/partners/%d/accounts/%d/users" , partnerId , accountId ) , user , PARTNER_USERS ) . get ( ) . iterator ( ) . next ( ) ) ; }
Creates the given user .