Policy >
Inventory
>
Context Profiles
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:
Method:
DELETE
URI Path(s):
/policy/api/v1/infra/context-profiles/<context-profile-id>
/policy/api/v1/global-infra/context-profiles/<context-profile-id>
Request Headers:
n/a
Query Parameters:
PolicyContextProfileDeleteRequestParameters
+
PolicyContextProfileDeleteRequestParameters
(
schema
)
Name
Description
Type
Notes
force
Force delete the resource even if it is being used somewhere
If true, deleting the resource succeeds even if it is being
referred as a resource reference.
boolean
Default: "False"
override
Delete the locally overriden global object
If true, the overridden object can be deleted locally. This
will restore the global resource as the intended configuration
for this site.
boolean
Default: "False"
Request Body:
n/a
Example Request:
DELETE https://<policy-mgr>/policy/api/v1/infra/context-profiles/testPolicyContextProfile
Successful Response:
Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a
Required Permissions:
crud
Feature:
policy_context_profile
Additional Errors:
301 Moved Permanently
307 Temporary Redirect
400 Bad Request
403 Forbidden
409 Conflict
500 Internal Server Error
503 Service Unavailable