Deleting NetworkInfrastructure via CM API fails with 405

Description 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 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}}

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