v2 service plans are created private by default. You need to make the plan public, or make it available to your org.
flip the bit in ccdb table service_plans or use cf curl:
cf curl POST /v2/service_plans/:guid -b '{"public":"true"}'
With the go cli, we don't make plans visible unless you can create them.
To unsubscribe from this group and stop receiving emails from it, send an email to vcap-dev+u...@cloudfoundry.org.
cf curl PUT /v2/service_plans/:3101b971-1044-4816-a7ac-9ded2e028079 -b '{"public":true}'
{
"code": 1000,
"description": "Invalid Auth Token",
"error_code": "CF-InvalidAuthToken",
"types": [
"InvalidAuthToken",
"Error"
],
--
You received this message because you are subscribed to the Google Groups "Cloud Foundry Developers" group.
To view this discussion on the web visit https://groups.google.com/a/cloudfoundry.org/d/msgid/vcap-dev/7d01fc94-678a-401b-9be0-26c8e5295286%40cloudfoundry.org.