使用 API 调用删除已停用的服务条目
Removing a retired service entry using API calls
我正在尝试清理我在 CAM 中创建的旧服务的退役版本,但它仍显示在 ICP 目录中。有什么办法可以解决这个问题吗?
ICP 目录中将显示 CAM 中已停用的服务。这是一个已知问题,我们正在与 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
向 /service 发出 DELETE 将清除 ICP 目录中的条目,但请注意,代理需要一些时间来更新 ICP 中的目录,大约 15 分钟:
https://www.ibm.com/support/knowledgecenter/SS2L37_2.1.0.3/cam_common_API.html#getlistservices
我正在尝试清理我在 CAM 中创建的旧服务的退役版本,但它仍显示在 ICP 目录中。有什么办法可以解决这个问题吗?
ICP 目录中将显示 CAM 中已停用的服务。这是一个已知问题,我们正在与 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
向 /service 发出 DELETE 将清除 ICP 目录中的条目,但请注意,代理需要一些时间来更新 ICP 中的目录,大约 15 分钟: https://www.ibm.com/support/knowledgecenter/SS2L37_2.1.0.3/cam_common_API.html#getlistservices