Deleting NetworkInfrastructure via CM API fails with 405

Last update: 2023-10-02

Description

Environment

Adobe Experience Manager

Issue/Symptoms

When deleting the network infrastructure via CM API, it failed with 405.

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

Resolution

Customer was using CM API but the call was incorrect:

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

Notice that networkinfrastructures is used instead of networkInfrastructure

The correct call is:

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

On this page