---
title: "Reset scanner settings"
method: POST
path: "/api/v1/repositories/reset-scanner-settings"
tags: ["Repositories"]
---

# Reset scanner settings

`POST /api/v1/repositories/reset-scanner-settings`

## Request

- Base URL: `https://zeropath.com`
- URL: `https://zeropath.com/api/v1/repositories/reset-scanner-settings`
- Auth: API key in header `X-ZeroPath-API-Token-Id` and API key in header `X-ZeroPath-API-Token-Secret`

Delete custom scanner settings for the provided repositories

## Request body

- ResetRepositorySettingsInput
  - `organizationId` string
  - `repositoryIds` string[], required

## Response `200`

Scanner settings reset

- ResetRepositorySettingsResponse
  - `ok` boolean, required
  - `resetCount` number, required

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `404`: Not Found

---

[API](https://skmtc.dev/zeropath/apis/zeropath-api-2.md) - [All operations](https://skmtc.dev/zeropath/apis/zeropath-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/zeropath/apis/zeropath-api-2/revisions/ea6ae4b68cd3?raw)
