

# Clears the contact for the given contactId in Amazon Connect Agent Workspace
clear()

Clears the contact for the given contactId.

 **Signature** 

```
clear(contactId: string): Promise<void>                
```

 **Usage** 

```
await contactClient.clear(contactId);   
```

 **Input** 


|  **Parameter**  |  **Type**  |  **Description**  | 
| --- | --- | --- | 
|  contactId Required  |  string  |  The id of the contact to which a participant needs to be added.  | 

 **Permissions required:** 

```
Contact.Details.Edit              
```