Delete recordings using a Bulk Recording Job for a specific user

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"

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

1 Like

Thank you Adrian. It works. :grinning:

1 Like

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.