The :ref should be added to the end of the path, not placed in the body.
I think the api you are looking for is update ref. create-reference has the ref in the body, update is in the path.
It seems I may have been a little confused. I note that the test for create-reference is still commented out though:
Anyway, turns out it was update-reference I needed. Thanks for the help