---
title: "Get excluded templates"
method: GET
path: "/v1/scans/config/exclude"
tags: ["configurations"]
---

# Get excluded templates

`GET /v1/scans/config/exclude`

Get excluded templates

## Headers

- `X-Team-Id` string

## Response `200`

Example response

- object
  - `data` ExcludedTemplate[], required
    - `id` integer, required
    - `value` string, required
    - `exclude_type` 'scan_target' | 'template' | 'enumeration_target', required
    - `scan_id` string — Optional scan ID if this rule is scoped to a specific scan
    - `enumeration_id` string — Optional enumeration ID if this rule is scoped to a specific enumeration
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required

## Other responses

- `400` — Example response
- `401` — Example response
- `500` — Example response
- `default` — Example response

## Changes

- **2025-10-28** `c9df54e2fb2c` — 2 info
  - added the optional property `data/items/enumeration_id` to the response with the `200` status
  - added the optional property `data/items/scan_id` to the response with the `200` status
- **2025-08-13** `c41cd7ae7718` — 1 info
  - added the required property `data/items/exclude_type` to the response with the `200` status
- **2024-09-22** `407b73d9ce28` — 1 info
  - added the new optional `header` request parameter `X-Team-Id`
- **2024-04-19** `ba8a20839440` — 1 info
  - endpoint added
- **2023-12-05** `5c3748c387f7` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/projectdiscovery/apis/pdcp-api/changes/v1/scans/config/exclude/get.md)

---

[API](https://skmtc.dev/projectdiscovery/apis/pdcp-api.md) · [All operations](https://skmtc.dev/projectdiscovery/apis/pdcp-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/projectdiscovery/pdcp-api/revisions/220f0adf9efd/schema)
