使用API调用删除已停用的服务条目



我正在尝试清理我在CAM中创建的旧服务的退役版本,但它仍然显示在ICP目录中。有什么办法解决这个问题吗?

CAM中的退役服务将显示在ICP目录中。这是一个已知的问题,我们正在与ICP合作解决它。一旦退休,您必须通过API删除服务,如下所述:

Delete a service - You can only delete a draft service. After you publish a service, you cannot delete it. However, the workaround to delete a published service is to retire the service and delete it by using API.https://www.ibm.com/support/knowledgecenter/SS2L37_2.1.0.3/cam_managing_services.html

向/服务发布DELETE将清除ICP目录中的条目,但请注意,经纪人需要一些时间来更新ICP中的目录,大约需要15分钟:https://www.ibm.com/support/knowledgecenter/SS2L37_2.1.0.3/cam_common_API.html#getlistservices

最新更新