marked_for_delete=true flag set, Some example API's below :
GET https://{{GM_VIP}}/global-manager/api/v1/global-infra/domains/default/gateway-policies?include_mark_for_delete_objects=trueGET https://{{GM_VIP}}/global-manager/api/v1/global-infra/segments?include_mark_for_delete_objects=trueGET https://{{GM_VIP}}/global-manager/api/v1/global-infra/tier-0s?include_mark_for_delete_objects=trueGET https://{{GM_VIP}}/global-manager/api/v1/global-infra/tier-1s?include_mark_for_delete_objects=trueGET https://{{GM_VIP}}/global-manager/api/v1/global-infra/domains/#####/groups?include_mark_for_delete_objects=trueGET https://{{GM_VIP}}/global-manager/api/v1/global-infra/services?include_mark_for_delete_objects=trueNote : Always verify the correct API path from the NSX API Guide
Imp Note : If you are experiencing an issue where NSX Segments created on the Local Manager are stuck in a 'marked_for_delete=true' state, please refer to KB article Removing NSX Segments that are stuck in "Marked for Delete" state
VMware NSX
marked_for_delete = true state./opt/vmware/bin/corfu_tool_runner.py -n nsx -o showTable -t DeletesPending
If the issue persists, please open a support case with Broadcom Support and refer to this KB article.
For more information, see Creating and managing Broadcom support cases.