UpdateSecurityGroup() Parent topic

Description

Update policy settings.

Interface

https://[SecureCloudService]/Broker/API.svc/v3.5/securityGroup/{policyGUID}
Method: POST

Parameter

Parameter
Data Type
Description
Required?
policyGUID
GUID
The GUID of this policy.
Yes

Request

Refer to the following data type: SecurityGroup.

Response

Expected HTTP response code: 200 (OK)

Example Request URL

[POST]
https://ms.sample.securecloud.com/broker/API.svc/v3.5/securityGroup/
      55687171-a415-402d-b1ca-04f85a0d7182/

Example Request Message

<?xml version="1.0"?>
<securityGroup id="55687171-a415-402d-b1ca-04f85a0d7182"
name="Test-Update-Policy" EnableIC="false" ICAction="false"
PostponeEnable="false" RevokeIntervalNumber="0"
RevokeIntervalType="false" isDeleteble="false"
isNameEditable="false">
</securityGroup>

Example Response

<?xml version="1.0"?>
<securityGroup
      EnableIC="false" ICAction="Nothing" PostponeEnable="false"
      RevokeIntervalNumber="0" RevokeIntervalType="Hour"
      href="https://ms.sample.securecloud.com/broker/API.svc/v3.5/securityGroup/
            a4dbae1a-2d4d-4d2c-bef3-e555e3e561bb/"
      id="a4dbae1a-2d4d-4d2c-bef3-e555e3e561bb" imageCount="0" isNameEditable="true"
      lastModified="2014-04-02T10:58:26" name=" Test-Update-Policy " ruleCount="0">
      <successAction action="ManualApprove" autoDelay="-1"/>
      <failedAction action="ManualApprove" autoDelay="-1"/>
      <securityRuleList>
            <securityRule dataMissing="Failed"
            id="1338779b-2683-474b-a9a7-298176564a6f" matchType="MatchAll">
                  <securityRuleType dataType="Date" evaluator="lessThan"
                  id="1338779b-2683-474b-a9a7-298176564a6f" name="Key Request Date"/>
                  <securityRuleConditionList>
                        <securityRuleCondition evaluator="equal"
                        expectedValue="04/17/2014"/>
                  </securityRuleConditionList>
            </securityRule>
      </securityRuleList>
</securityGroup>