Delete Policy Context Profile
Deletes the specified Policy Context Profile. If the Policy Context Profile is consumed in a firewall rule, it won’t get deleted.
Request
URLURL
https://nsxmanager.your.domain/policy/api/v1/infra/context-profiles/{context-profile-id}
Parameters
Parameters
string
context-profile-id
Required
Policy Context Profile Id
Query Parameters
Query Parameters
boolean
force
Optional
Force delete the resource even if it is being used somewhere
cURL Command
curl -X DELETE https://nsxmanager.your.domain/policy/api/v1/infra/context-profiles/{context-profile-id}
Errors
500
The server encountered an unexpected condition which prevented it from fulfilling the request.
503
The server is currently unavailable (because it is overloaded or down for maintenance).