通过CM API删除网络基础架构失败,出现405错误
确保使用正确的呼叫https://{{host_name}}/api/program/{{program_id}}/networkInfrastructure /{{networkInfrastructure_id}}来解决问题。
描述 description
环境
Adobe Experience Manager (AEM)
问题
通过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