[[rest-api-shouldreturn404whenpropertywhichdoesnotexistremovedfromrelationshipstreaming]]
=== ShouldReturn404WhenPropertyWhichDoesNotExistRemovedFromRelationshipStreaming ===

.Final Graph
["dot", "Final-Graph-shouldReturn404WhenPropertyWhichDoesNotExistRemovedFromRelationshipStreaming.svg", "neoviz"]
----
  N52 [
    label = "{Node\[52\]|name = \'Juliet\'\l}"
  ]
  N53 [
    label = "{Node\[53\]|name = \'Romeo\'\l}"
  ]
  N53 -> N52 [
    color = "#2e3436"
    fontcolor = "#2e3436"
    label = "LOVES\ncost = \'high\'\l"
  ]
----

_Example request_

* *+DELETE+*  +http://localhost:7474/db/data/relationship/21/properties/non-existent+
* *+Accept:+* +application/json+

_Example response_

* *+404:+* +Not Found+
* *+Content-Type:+* +application/json; stream=true+
[source,javascript]
----
{
  "message" : "Relationship[21] does not have a property \"non-existent\"",
  "exception" : "NoSuchPropertyException",
  "stacktrace" : [ "org.neo4j.server.rest.web.DatabaseActions.removeRelationshipProperty(DatabaseActions.java:729)", "org.neo4j.server.rest.web.RestfulGraphDatabase.deleteRelationshipProperty(RestfulGraphDatabase.java:595)", "java.lang.reflect.Method.invoke(Method.java:597)", "org.neo4j.server.statistic.StatisticFilter.doFilter(StatisticFilter.java:62)" ]
}
----


