Authorization token required | true |
Admin Authorization token required | true |
<CreateSystemRetentionPolicyRequest> ## CreateSystemRetentionPolicyRequest
<cos [by="{cos-selector-by} (id | name)"]>{key}</cos> ## CosSelector
<purge> ## CreateSystemRetentionPolicyRequest$PolicyHolder
<policy [type="{retention-policy-type} (user | system)"] [id="{id}"] [name="{name}"]
[lifetime="{policy-duration}"] /> ## Policy
</purge>
</CreateSystemRetentionPolicyRequest>
elements and attributes you can define within a
<CreateSystemRetentionPolicyRequest>
element:
XPath | Required / Optional | Description |
/cos | Optional (0 or 1) | Type: {key} COS Description for element text content:The key used to identify the COS. Meaning determined by {cos-selector-by} |
/cos@by | Optional (0 or 1) | Type: id | name Select the meaning of {cos-selector-key} |
/purge | Optional (0 or 1) | Purge policy details |
/purge/policy | Optional (0 or 1) | |
/purge/policy@type | Optional (0 or 1) | Type: user | system Retention policy type |
/purge/policy@id | Optional (0 or 1) | Type: String ID |
/purge/policy@name | Optional (0 or 1) | Type: String Name |
/purge/policy@lifetime | Optional (0 or 1) | Type: String Duration |
<CreateSystemRetentionPolicyResponse> ## CreateSystemRetentionPolicyResponse
<policy [type="{retention-policy-type} (user | system)"] [id="{id}"] [name="{name}"]
[lifetime="{policy-duration}"] /> ## Policy
</CreateSystemRetentionPolicyResponse>
elements and attributes you can define within a
<CreateSystemRetentionPolicyResponse>
element:
XPath | Required / Optional | Description |
/policy | Required (only 1) | Information about the newly created retention policy |
/policy@type | Optional (0 or 1) | Type: user | system Retention policy type |
/policy@id | Optional (0 or 1) | Type: String ID |
/policy@name | Optional (0 or 1) | Type: String Name |
/policy@lifetime | Optional (0 or 1) | Type: String Duration |