Skip to main content

Uniphore Help Center Portal

Remove Locks in Bulk by Conversation ID

Use the bulk delete locks by conversation ID request to remove locks from multiple conversations with one request based on Conversation IDs, allowing for those conversations to be manually or automatically deleted.

Endpoint

Method: POST

URL: /lock/bulk_unlock_by_conversations

Request Parameter

Parameter Name

Data Type

Description

Required/Optional

conversationIds

Array

An array of Conversation IDs to remove the locks for.

Required

Sample Request
{
        "conversationIds": [
            "e5a256d5-aad1-4a56-8509-af19df7fe0ef",
            "b5s89fl7-gts2-4k67-9875-jt75uj7du3ng"
        ]
}
Response and Error Code

Response Code

Condition

200

Ok

The above 200 Ok response means that the locks have been deleted, you can always get the lock information for a specific conversation and confirm that locks have been removed using this request, the response of a conversation without a lock will be blank.