[[rest-api-set-single-property-on-a-relationship]]
=== Set single property on a relationship ===



.Starting Graph
["dot", "Starting-Graph-Set-relationship-property1.svg", "neoviz"]
----
  N62 [
    label = "{Node\[62\]|name = \'Juliet\'\l}"
  ]
  N63 [
    label = "{Node\[63\]|name = \'Romeo\'\l}"
  ]
  N63 -> N62 [
    color = "#2e3436"
    fontcolor = "#2e3436"
    label = "LOVES\ncost = \'high\'\l"
  ]
----


.Final Graph
["dot", "Final-Graph-set-single-property-on-a-relationship.svg", "neoviz"]
----
  N62 [
    label = "{Node\[62\]|name = \'Juliet\'\l}"
  ]
  N63 [
    label = "{Node\[63\]|name = \'Romeo\'\l}"
  ]
  N63 -> N62 [
    color = "#2e3436"
    fontcolor = "#2e3436"
    label = "LOVES\ncost = \'deadly\'\l"
  ]
----

_Example request_

* *+PUT+*  +http://localhost:7474/db/data/relationship/26/properties/cost+
* *+Accept:+* +application/json+
* *+Content-Type:+* +application/json+
[source,javascript]
----
"deadly"
----


_Example response_

* *+204:+* +No Content+
[source,javascript]
----

----


