[[rest-api-remove-properties-from-a-non-existing-relationship]]
=== Remove properties from a non-existing relationship ===

Attempting to remove all properties from a relationship which doesn't
exist results in an error.


.Final Graph
["dot", "Final-Graph-Remove-properties-from-a-non-existing-relationship.svg", "neoviz"]
----
  N47 [
    label = "{Node\[47\]|name = \'you\'\l}"
  ]
  N48 [
    label = "{Node\[48\]|name = \'I\'\l}"
  ]
  N48 -> N47 [
    color = "#2e3436"
    fontcolor = "#2e3436"
    label = "know\n"
  ]
----

_Example request_

* *+DELETE+*  +http://localhost:7474/db/data/relationship/1234/properties+
* *+Accept:+* +application/json+

_Example response_

* *+404:+* +Not Found+
* *+Content-Type:+* +application/json+
[source,javascript]
----
{
  "exception" : "org.neo4j.server.rest.web.RelationshipNotFoundException",
  "stacktrace" : [ "org.neo4j.server.rest.web.DatabaseActions.relationship(DatabaseActions.java:138)", "org.neo4j.server.rest.web.DatabaseActions.removeAllRelationshipProperties(DatabaseActions.java:708)", "org.neo4j.server.rest.web.RestfulGraphDatabase.deleteAllRelationshipProperties(RestfulGraphDatabase.java:579)", "java.lang.reflect.Method.invoke(Method.java:597)" ]
}
----


