# Remove Bad Endpoints

Akto gives user options to ignore the static files endpoints or endpoints having default payloads.This documentation is essential for users looking to maintain a clean and efficient endpoint inventory in their Akto setup.\
We have two methods for removing bad endpoints from your inventory:

1. [Select file type](#selecting-static-endpoints-file-type)
2. [Add default payloads](#adding-default-payloads)

## Ways to remove bad endpoints in Akto

### Selecting static endpoints file type

1. Navigate to `Settings`. Then open `About` tab in the left nav.
2. Click on the `Select redundant url types` button in `More settings` section on the page.

<div align="center"><figure><img src="/files/xbyVptSdWJ0WTXVfJ5yM" alt="Select file type"><figcaption><p>File type button</p></figcaption></figure></div>

3. Select the `File types` which you want to ignore and akto will ignore those endpoints from the future. You can also remove some default types we ignore.

<div align="center"><figure><img src="/files/xlx0St1NCEUV29dmpN1C" alt="Select file type" width="400"><figcaption><p>Options present</p></figcaption></figure></div>

### Adding default payloads

1. Navigate to `Settings`. Then open `Default payloads` tab in the left nav.
2. Click on `Add your own` and then enter the domain name of the urls you want to ignore.

<div align="center"><figure><img src="/files/6h06i7reYFTPtXs1eZ5l" alt="Select file type"><figcaption><p>The above example has 'app.getbeamer.com' as domain name</p></figcaption></figure></div>

3. After adding domain name, `enter the regex` for response payload.

<figure><img src="/files/w7xUDdxeKbywW6DHA2I4" alt="Select file type"><figcaption></figcaption></figure>

4. Now akto will ignore urls in which response payload matches the above regex.

<figure><img src="/files/X2JKPhSa5NEtueV46SsP" alt="Select file type" height="150" width="650"><figcaption><p>The above url has 'html type payload' as domain name</p></figcaption></figure>

5. On re-uploading the Traffic via Har, we observer the api was ignored and thus was not stored in the inventory.

<figure><img src="/files/VNnn5SKv4fWPByImdeQq" alt="Select file type"><figcaption></figcaption></figure>

### Summary

The guide includes detailed step-by-step instructions, complete with visual aids and examples, to assist users in navigating through the Akto settings and applying these configurations effectively.

## Get Support for your Akto setup

There are multiple ways to request support from Akto. We are 24X7 available on the following:

1. In-app `intercom` support. Message us with your query on intercom in Akto dashboard and someone will reply.
2. Join our [discord channel](https://www.akto.io/community) for community support.
3. Contact `help@akto.io` for email support.
4. Contact us [here](https://www.akto.io/contact-us).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.akto.io/api-inventory/how-to/remove-bad-endpoints.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
