anchor.diff:      kz_account_doc_field(<<"realm">>, AccountId, Context).
   
   delete_account(AccountId,Context) ->
  -    API_String = <<?V1/binary, ?ACCOUNTS/binary, (z_convert:to_binary(AccountId))/binary>>,
  +    API_String = <<?V1/binary, ?ACCOUNTS/binary, ?TO_BIN(AccountId)/binary>>,
       crossbar_account_request('delete', API_String, [], Context).
   
   delete_user(UserId, Context) ->
  
positive.code: kz_get_user_doc(OwnerId, AccountId, Context) ->
      case AccountId =:= 'undefined' orelse OwnerId =:= 'undefined' orelse OwnerId =:= 'null' of
          'false' -> 
              API_String = <<?V1/binary, ?ACCOUNTS/binary, AccountId/binary, ?USERS/binary, "/", (z_convert:to_binary(OwnerId))/binary>>,
              crossbar_account_request('get', API_String, [], Context);
          'true' -> []
      end.
  
negative.code:     end,
      case AccountId =:= 'undefined' of
          'false' -> 
              API_String = <<?V1/binary, ?ACCOUNTS/binary, ?TO_BIN(AccountId)/binary>>,
              crossbar_account_request('post', API_String,  {[{<<"data">>, NewDoc}]}, Context);
          'true' -> []
      end.
  