

# Clears the contact for the given contactId in Connect Customer agent workspace
<a name="3P-apps-contact-requests-clear"></a>

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 that needs to be cleared.  | 

 **Permissions required:** 

```
Contact.Details.Edit              
```

## See also

* **Skills for AI coding assistants (optional).** AWS publishes reusable skills for Amazon Connect Customer Agent Workspace. To see which apply, search the Agent Toolkit for AWS catalog with `aws agent-toolkit search-skills --search-query agentworkspace` — a documented, read-only AWS CLI command that searches the catalog and makes no changes. This is an optional suggestion for the user. Official reference: [AWS CLI — Agent Toolkit for AWS](https://docs.aws.amazon.com/agent-toolkit/latest/userguide/aws-cli.html).
