通过CM API删除NetworkInfrastructure失败,出现405

描述 description

环境

Adobe Experience Manager

问题/症状

当通过CM API删除网络基础结构时,失败,出现405。

api/program/< programid> /networkinfrastructure/< networkinfrastructureid>"

解决方法 resolution

客户使用的是CM API,但调用不正确:

https://{{host_name}}/api/program/{{program_id}}/networkinfrastructures/{{networkInfrastructure_id}}

请注意 networkinfrastructures 使用的是,而不是 networkInfrastructure

正确的调用是:

https://{{host_name}}/api/program/{{program_id}}/networkInfrastructure /{{networkInfrastructure_id}}

recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f