---
title: "Configure scanner for the specified project"
method: PUT
path: "/projects/{project_name_or_id}/scanner"
tags: ["project"]
---

# Configure scanner for the specified project

`PUT /projects/{project_name_or_id}/scanner`

Set one of the system configured scanner registration as the indepndent scanner of the specified project.

## Path parameters

- `project_name_or_id` string, required

## Headers

- `X-Request-Id` string
- `X-Is-Resource-Name` boolean

## Request body

- ProjectScanner
  - `uuid` string, required — The identifier of the scanner registration

## Response `200`

Success

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `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)
