If you GET on the url to the user resource you'll get a link in the response, that points to itself: curl -k -H "Accept: application/xml" --user "adietish:PASSWORD" https://openshift.redhat.com/broker/rest/user -v <response> <type>user</type> <messages/> <user> <login>adietish</login> <links> ... <link> <rel>Get user information</rel> <optional-params/> <href>/user</href> <required-params/> <method>GET</method> </link>
removed link
Tested it on devenv-stage_166, /user link is removed, only have the following links : <href>https://ec2-23-20-212-221.compute-1.amazonaws.com/broker/rest/user/keys</href> <optional-params/> <method>POST</method> </link> <link> <rel>Get SSH keys</rel> <required-params/> <href>https://ec2-23-20-212-221.compute-1.amazonaws.com/broker/rest/user/keys</href> <optional-params/> <method>GET</method>