Taras | 2021-07-16 18:04:43 UTC | #1
Hi dear community.
I cant find proper documentation to understand how to use media retention policies API except of this https://developer.genesys.cloud/api/rest/v2/recording/#post-api-v2-recording-mediaretentionpolicies.
I want to keep all emails recordings from range "2021-06-01T21:00:00.000Z/2021-06-20T21:00:00.000Z" in the GC archive for 20 days, after that to delete recordings.
What will happen after I post this body?
{
"name": "test media reteniton policy",
"description": "test media reteniton policy",
"enabled": true,
"mediaPolicies": {
"emailPolicy": {
"actions": {
"retainRecording": true,
"deleteRecording": false,
"alwaysDelete": false,
"retentionDuration": {
"archiveRetention": {
"days": 20,
"storageMedium": "CLOUDARCHIVE"
}
}
},
"conditions": {
"dateRanges": [
"2021-06-01T21:00:00.000Z/2021-06-20T21:00:00.000Z"
]
}
}
}
}
tim.smith | 2021-07-19 15:29:02 UTC | #2
The Genesys Cloud Community Forum is a better place to discuss general configuration and base product functionality.
Taras | 2021-07-19 15:29:56 UTC | #3
Thanks Tim. I've created a new post under community forum.
system | 2021-08-19 15:30:01 UTC | #4
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 11500