> ## Documentation Index
> Fetch the complete documentation index at: https://www.algolia.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Undo the dismissal of a suggestion

> Restores a suggestion that a user dismissed, so it's no longer marked as dismissed for that user.

This is a **beta feature** according to [Algolia's Terms of Service ("Beta Services")](https://www.algolia.com/policies/terms/).

**Required ACL:** `search`

## Usage

```js JavaScript theme={"system"}
// Initialize the client
// Replace 'us' with your Algolia Application Region
const client = suggestedActionsClient('ALGOLIA_APPLICATION_ID', 'ALGOLIA_API_KEY', 'us');

// Call the API
const response = await client.undoSuggestionDismissal({
  suggestionID: '76710f1b-8231-42e5-b0d1-f43aac618e15',
  userParams: { userId: '42' },
});


// print the response
console.log(response);
```

> [card] [See the full API reference](https://www.algolia.com/doc/rest-api/suggested-actions/undo-suggestion-dismissal.md)
>
> For more details about input parameters
> and response fields.
