Cisco Cisco Security Manager 4.11 Guía Del Usuario
Cisco Security Manager 4.11 API Specification (Version 2.3)
Page 187
3.2.35.2
Response
The response of the delete shared policy have description that “Deleted shared policy successfully” and the status
code will be displayed as SUCCESS if the overall delete operation got access
code will be displayed as SUCCESS if the overall delete operation got access
Figure 153: deleteSharedPolicy Response Example
DeleteSharedPolicy response schema will be as similar as createSharedPolicy response schema mentioned in
Figure 150.
Figure 150.
DeleteSharedPolicy response XML elements are as similar as createSharedPolicy response elements mentioned in
Table 96.
Table 96.
Method specific error codes
Code
Description
1107
This error will be returned if policy name is not given
1120
This error will be returned if policy Type given as FirewallACLSettingsPolicy and
the policy name mentioned as parent//child hierarchy format
the policy name mentioned as parent//child hierarchy format
1106
This error will be returned if specified parent policy doesn’t exist
1092
This error will be returned if the user is not authorized to modify the policy
1093
This error will be returned if the policy is disabled
Table 99: deleteSharedPolicy Method Error Codes
3.2.36
Method RenameSharedPolicy
This method is used to rename a shared policy. The existing shared policy which needs to be renamed should be
given in the policyName tag and the new name for rename should be given in the policyRename tag.
given in the policyName tag and the new name for rename should be given in the policyRename tag.
3.2.36.1
Request
The request takes name of the shared policy along with hierarchy and new name. Following gives an example of the
request and its XSD.
request and its XSD.
<?xml version="1.0" encoding="UTF-8"?>
<ns1:sharedPolicyConfigResponse xmlns:ns1="csm">
<protVersion>1.0</protVersion>
<statusCode>SUCCESS</statusCode>
<description>Deleted shared policy successfully</description>
</ns1:sharedPolicyConfigResponse>
<ns1:sharedPolicyConfigResponse xmlns:ns1="csm">
<protVersion>1.0</protVersion>
<statusCode>SUCCESS</statusCode>
<description>Deleted shared policy successfully</description>
</ns1:sharedPolicyConfigResponse>