---
title: "# Update Custom Detection Content"
method: PUT
path: "/v1/mitigation/detection-content/custom/{content_id}"
tags: ["Mitigation"]
---

# # Update Custom Detection Content

`PUT /v1/mitigation/detection-content/custom/{content_id}`

Updates a custom detection content item by ID.

## Path parameters

- `content_id` string, required

## Request body

- CustomDetectionContentParams
  - `action_ids` integer[]
  - `author` string
  - `content_name` string
  - `content_sources` CustomDetectionSourceParams[]
    - `content_policies` string[]
    - `device_name` string
    - `event_id` integer[]
    - `query` string
    - `severity` string
  - `description` string
  - `false_positives` string[]
  - `products` string
  - `references` string[]
  - `release_date` integer — Release date of the detection content, as a Unix timestamp in milliseconds. If omitted, the current server time is used.
  - `service` string
  - `status` string
  - `sub_techniques` string[]
  - `tactics` string[]
  - `techniques` string[]

## Response `200`

UpdateCustomDetectionContentResponse

- UpdateCustomDetectionContentInternalResponse
  - `message` string

## Other responses

- `422` — validationErrorSwagger is represents the erroneous cases
- `default` — genericErrorSwagger is represents the erroneous cases

---

[API](https://skmtc.net/picussecurity/apis/picus-rest-api.md) · [All operations](https://skmtc.net/picussecurity/apis/picus-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/picussecurity/picus-rest-api/versions/cb0d02ee28f8/schema)
