# 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="https://2916937215-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRc4KTKGprZI2sPWKoaLe%2Fuploads%2Fgit-blob-0c808fd880478fd9db9215557ec654cea1177088%2Ffile-type1.png?alt=media" 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="https://2916937215-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRc4KTKGprZI2sPWKoaLe%2Fuploads%2Fgit-blob-0ed46d7ef207bc1af5f667351d3c113d448d0050%2Ffile-type-2.png?alt=media" 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="https://2916937215-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRc4KTKGprZI2sPWKoaLe%2Fuploads%2Fgit-blob-ce52d8d63810c05bdb892972bff6033fb714cc26%2Fpayloads--4.png?alt=media" 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="https://2916937215-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRc4KTKGprZI2sPWKoaLe%2Fuploads%2Fgit-blob-e320fc127f27de63c0ea886f0b967e9ad5fc9b29%2Fpayloads--2.png?alt=media" alt="Select file type"><figcaption></figcaption></figure>

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

<figure><img src="https://2916937215-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRc4KTKGprZI2sPWKoaLe%2Fuploads%2Fgit-blob-2265cdd15d9ff9bccfc7c3fb8c47483414d6356f%2Fpayloads--3.png?alt=media" 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="https://2916937215-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRc4KTKGprZI2sPWKoaLe%2Fuploads%2Fgit-blob-585a5e3c2484f9731d9b073fd09ba586e2cc2cb9%2Fpayloads--5.png?alt=media" 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).
