Cisco Cisco Security Manager 4.7 Guía Del Usuario
![Cisco](https://files.manualsbrain.com/attachments/7380d0050044647c30f5c24bbbf5d0c0b6d9bb84/common/fit/150/50/faa183d287233c52228cfea3dbc2a127fe780f60564fcb0955d9c3d1cd23/brand_logo.png)
Cisco Security Manager 4.7 API Specification (Version 2.0)
OL- 32164-01
Page 178
3.2.29.2
Response
3.2.30
Method DeletePolicyConfigByGID
The following gives the example and XSD of the request and the response object. Policy specific details are under
3.2.30.1
Request
The request takes in the policy gid and the type of the policy to be deleted.
Figure 141: deletePolicyConfigByGID Request Example
Table 93: DeletePolicyConfigByGID Request XML attribute description
HTTP/XML Content
Definition
deletePolicyConfigRequest
Delete policy containing request arguments
Element: csmSessionGID
An element that uniquely defines a CSMSession
Element: deviceGID
The GID of the device on which the policy is to be deleted.
Element: name
The name of the shared policy, if the request is for shared policy instead of
device.
device.
Element: policyGID
The GID of the policy to be deleted
Element: policyType
The type of the policy to be deleted
URL:
https://hostname/nbi/configservice/deletePolicyConfigByGID
HTTP Header:
Set-Cookie: asCookie=732423sdfs73242; expires=Fri, 3-Sep-2013 23:59:59 GMT; path=/;
domain=.hostdomain.com
XML Argument:
<?xml version="1.0" encoding="UTF-8"?>
<p:deletePolicyConfigRequest xmlns:p="csm">
<reqId>1234</reqId>
<csmSessionGID>00000000-0000-0000-0000-073014444091</csmSessionGID>
<deviceGID>00000000-0000-0000-0000-021045141429</deviceGID>
<policyGID>00000000-0000-0000-0000-068719476750</policyGID>
<policyType>DeviceAccessRuleFirewallPolicy</policyType>
</p:deletePolicyConfigRequest>
https://hostname/nbi/configservice/deletePolicyConfigByGID
HTTP Header:
Set-Cookie: asCookie=732423sdfs73242; expires=Fri, 3-Sep-2013 23:59:59 GMT; path=/;
domain=.hostdomain.com
XML Argument:
<?xml version="1.0" encoding="UTF-8"?>
<p:deletePolicyConfigRequest xmlns:p="csm">
<reqId>1234</reqId>
<csmSessionGID>00000000-0000-0000-0000-073014444091</csmSessionGID>
<deviceGID>00000000-0000-0000-0000-021045141429</deviceGID>
<policyGID>00000000-0000-0000-0000-068719476750</policyGID>
<policyType>DeviceAccessRuleFirewallPolicy</policyType>
</p:deletePolicyConfigRequest>