Adesh_Jadhav | 2025-01-28 04:21:32 UTC | #1
Hello Team,
I'm trying to delete recordings using the operation defined in "Bulk operations on recordings". but its not clear .
I was able to delete recordings using a specific interval, but I'm not sure how to delete recordings for a specific user. Can this be achieved using the conversation query filter, or is there an alternate solution?
```
`query = PureCloudPlatformClientV2.RecordingJobsQuery()`
`query.action = "DELETE"`
`query.action_date = "2025-01-27T12:15:00.000Z"`
`# Comment out integration id if using DELETE or ARCHIVE`
`# query.integration_id = ""`
`query.conversation_query = {`
` "interval": "2025-01-23T00:00:00.000Z/2025-01-26T00:00:00.000Z",`
` "order": "asc",`
` "orderBy": "conversationStart"
AdrianRodriguezVar | 2025-01-28 09:55:51 UTC | #2
Hi, On the query.conversation_query you can make the query using filters like userid or queue id.. etc.
Something like this
= {
"interval": "2024-09-01T00:00:00Z/2024-09-30T23:59:00Z",
"segmentFilters": [
{
"type": "and",
"predicates": [
{
"type": "dimension",
"dimension": "queueId",
"value": "xxxxxxxxxxx"
},
BR
Adesh_Jadhav | 2025-01-28 13:22:39 UTC | #3
Thank you Adrian. It works. :grinning:
system | 2025-02-28 13:23:13 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: 31432