I tried this way : curl -H "X-Auth-Token: $TOKEN_ID" http://url:35357/v2.0/tokens/$TOKEN_ID , and all worked well.