-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
False
-
None
-
False
-
No
-
-
Hello -
Two items I noticed in this doc:
1. The command to delete OpenShift API management from a cluster using OCM CLI, is listed as:
ocm delete api/clusters_mgmt/v1/clusters/<cluster_id>/addons/<addon_id>
When I run the command, I see:
ocm delete api/clusters_mgmt/v1/clusters/2386ntc347e6u484d4n9sek9tptddcht/addons/managed-api-service
Error: Can't send request: request URL 'api/clusters_mgmt/v1/clusters/2386ntc347e6u484d4n9sek9tptddcht/addons/managed-api-service' isn't absolute
However, if I run the command like so (with leading / ) , it works:
ocm delete /api/clusters_mgmt/v1/clusters/2386ntc347e6u484d4n9sek9tptddcht/addons/managed-api-service
2. The documentation notes:
Replace the <addon_id> with the identification tag for the Red Hat OpenShift API Management add-on service.
Won't the addon_id for API Management always be managed-api-service? If so, can that be added to the command example? If not, can you provide a way for a user to figure out what the identification tag would be?
Documentation link:
https://access.redhat.com/documentation/en-us/red_hat_openshift_api_management/1/guide/53dfb804-2038-4545-b917-2cb01a09ef98#_5edbeef9-fe2a-4117-bdff-d1b981a66fbd