anchor.diff:       
        #uce_route{module="Presence",
   		method='DELETE',
  -		regexp="/presence/([^/]+)/([^/]+)/([^/]+)",
  +		regexp="/presence/([^/]+)/([^/]+)",
   		callbacks=[{presence_controller, check,
   			    ["uid", "sid"],
   			    [required, required],
  
positive.code: init() ->
      [#uce_route{module="Presence",
  		method='PUT',
  		regexp="/presence/([^/]+)/([^/]+)",
  		callbacks=[{?MODULE, add,
  			    ["auth", "credential", "metadata"],
  			    [required, required, []],
  
negative.code: 	    {error, unauthorized}
      end.
  
  delete([ToUid, ToSid], [Uid], _) ->
      case uce_acl:check(Uid, "presence", "delete", ["", ""], [{"user", ToUid}]) of
  	true ->
  	    case uce_presence:delete(ToSid) of
  		{error, Reason} ->
  		    {error, Reason};
  		ok ->
  		    uce_event:add(#uce_event{location=["", ""],
  					     from=Uid,
  					     type="internal.presence.delete"}),
  		    json_helpers:json(ok)
  