title: Neo4j: How do I delete a specific relationship with cypher?
body: <p>Lets say, I have an user:</p>
  
  <pre><code>CREATE (n { name: 'Tamil' })
  </code></pre>
  
  <p>and 2 roles:</p>
  
  <pre><code>CREATE (n { name: 'developer' } ) 
  CREATE (n { name: 'tester' } )
  </code></pre>
  
  <p>Then, I make relationship between the user &amp; each of the 2 roles.</p>
  
  <pre><code>CYPHER 1.9  START a = node(*), b = node(*) 
  WHERE a.name = 'Tamil' AND b.name = 'developer' 
  CREATE (a)-[r:HAS_ROLE]-&gt;(b) 
  RETURN r
  
  CYPHER 1.9  START a = node(*), b = node(*) 
  WHERE a.name = 'Tamil' AND b.name = 'tester' 
  CREATE (a)-[r:HAS_ROLE]-&gt;(b) 
  RETURN r
  </code></pre>
  
  <p>Now, I want to remove tester role relationship from the user.
  I tried:</p>
  
  <pre><code>CYPHER 1.9  START a = node:node_auto_index('name:Tamil') 
  MATCH a-[r:HAS_ROLE]-() 
  RETURN r
  </code></pre>
  
  <p>But, it returns both of the relationships. 
  I know that i can attach property with relationships. But, again, I don't know the cypher syntax for that. </p>
  
  <p>I am new to Neo4j. Any suggestions would be really great!</p>
  
  <p>Thanks!</p>