I have deployed cloud foundry in my local machine.I am able to set the target and able to deploy services.I have followed the following link to deploy services https://github.com/cloudfoundry-community/cf-services-contrib-release .But when I am trying to create service I am facing the following issue :
cf create-service-auth-token mongodb core mytoken
FAILED
create-service-auth-token only works up to CF API version 2.46.0. Your target is 2.51.0.