

# Unsubscribes the callback function from the contact cleared event in Amazon Connect Agent Workspace
offCleared()

 Unsubscribes the callback function from the contact cleared event in Amazon Connect agent workspace. 

 **Signature** 

```
        offCleared(handler: ContactClearedHandler, contactId?: string) 
```

 **Usage** 

```
 contactClient.offCleared(handler);
```