---
title: "Set system default scanner registration"
method: PATCH
path: "/scanners/{registration_id}"
tags: ["scanner"]
---

# Set system default scanner registration

`PATCH /scanners/{registration_id}`

Set the specified scanner registration as the system default one.

## Path parameters

- `registration_id` string, required

## Headers

- `X-Request-Id` string

## Request body

- IsDefault
  - `is_default` boolean — A flag indicating whether a scanner registration is default.

## Response `200`

Successfully set the specified scanner registration as system default

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal server error

---

[API](https://skmtc.dev/goharbor/apis/harbor-api.md) · [All operations](https://skmtc.dev/goharbor/apis/harbor-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/goharbor/harbor-api/revisions/62d78801f8df/schema)
