---
title: "Update Target"
method: PATCH
path: "/v1/targets/{target_id}"
tags: ["targets"]
---

# Update Target

`PATCH /v1/targets/{target_id}`

## Request

- Base URL: `https://api.cybret.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.cybret.ai/v1/targets/{target_id}`
- Auth: HTTP bearer

## Path parameters

- `target_id` string, required

## Request body

- UpdateTargetRequest
  - `allowed_methods` string[], nullable
  - `mutating_approved` boolean, nullable
  - `hosted_idp_signup_approved` boolean, nullable
  - `max_requests_per_minute` integer, nullable
  - `max_concurrency` integer, nullable
  - `retention_days` integer, nullable
  - `status` 'active' | 'disabled' | 'deleted'

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/cybret/apis/api-scanner-control-plane.md) · [All operations](https://skmtc.dev/cybret/apis/api-scanner-control-plane/llms.txt) · [OpenAPI document](https://skmtc.dev/cybret/apis/api-scanner-control-plane/revisions/4c9b522246af?raw)
