Deleting network infrastructure via CM API fails with 405 error
Make sure to use the correct call, https://{{host_name}}/api/program/{{program_id}}/networkInfrastructure /{{networkInfrastructure_id}}
, to resolve the issue.
Description description
Environment
Adobe Experience Manager (AEM)
Issue
When deleting the network infrastructure via CM API, it failed with a 405 error.
api/program/<programid>/networkinfrastructure/<networkinfrastructureid>
Resolution resolution
The CM API was used, but the call was incorrect:
https://{{host_name}}/api/program/{{program_id}}/networkinfrastructures/{{networkInfrastructure_id}}
Notice that networkinfrastructures
was 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