Genesys Cloud CX (formerly PureCloud)

Discussion Thread View
Expand all | Collapse all

Delete specific recording

  • 1.  Delete specific recording

    GCAP Member
    Posted 07-25-2018 10:05
    Hi,

    I have two questions about deleted recording :
    1. How i can delete a specific recording with a conversation ID ?
    2. How i can create a rule to delete every 6 months old records ? And purge all my records older than 6 months ?
    We have some legal compliance rules and i need to be flexible to delete quick and fast.
    Thank you in advance,
    Mariama.

    ------------------------------
    Mariama Guiro
    L'Olivier Assurance
    ------------------------------


  • 2.  RE: Delete specific recording

    GENESYS
    Posted 07-26-2018 09:28
    A recording retention policy can be put in place to purge recordings after 6 months. This will apply to new recordings only. If you have existing recordings that need purged, see this API resource:

    https://developer.mypurecloud.com/api/rest/v2/recording/index.html#putConversationsConversationIdRecordingsRecordingId

    ------------------------------
    R. J. Smith
    Genesys - Employees
    ------------------------------



  • 3.  RE: Delete specific recording

    GCAP Member
    Posted 07-27-2018 04:23
    Hi,

    Thank you for the answer.
    We will put in place the recording retention policy. Could you give more details on how to use this API options to delete the specific recording ?

    Thank in advance,
    Mariama.

    ------------------------------
    Mariama GUIRO
    L'Olivier Assurance
    ------------------------------



  • 4.  RE: Delete specific recording

    GENESYS
    Posted 07-27-2018 09:26
    Hi Mariama,

    We have a quickstart guide here:
    https://developer.mypurecloud.com/api/rest/quickstart.html

    And information on authorization:
    https://developer.mypurecloud.com/api/rest/authorization/index.html

    The client credentials grant would be the simplest authorization for what you need:
    https://developer.mypurecloud.com/api/rest/authorization/use-client-credentials.html

    If I remember correctly, the PUT endpoint is used to update the deleteDate on the recording to some date in the past (say 1/1/2000) and, on updating, the recording will be re-evaluated by the policy and will be deleted. You can try the endpoint with the API Explorer:

    https://developer.mypurecloud.com/developer-tools/#/api-explorer?filter=retention

    ------------------------------
    R. J. Smith
    Genesys - Employees
    ------------------------------



  • 5.  RE: Delete specific recording

    Posted 8 days ago
    Hi R. J.

    I have been able to successfully create a recording bulk job in the devtools UI that targets one conversation ID, the job status resulted in READY state.  I then executed the job and it successfully deleted the targeted recording.  I tried in several different formats to compile multiple value's into the devtools UI using commas, squire brackets, curly brackets, no brackets and it will not take more than one conversation ID at once.  I'm not entirely familiar with this schema.  See the screenshot I provided, am I missing something here?  I could just do one bulk job per conversation ID and just do a foreach against an array of ID's but then we'll have a ton of bulk jobs and they won't necessarily be doing anything in bulk, any help is appreciated. ["value1", "value2", "value3"]
    DELETE


    ------------------------------
    Jose Albor
    Allegheny Health Network
    ------------------------------



  • 6.  RE: Delete specific recording

    GENESYS
    Posted 7 days ago

    I would suggest asking in the Genesys Cloud Developer Forum where you will have a more appropriate audience.

    https://developer.genesys.cloud/forum/c/platform-api/5 



    ------------------------------
    Jay Langsford
    VP, R&D
    ------------------------------