---
title: "Update log specification"
method: PATCH
path: "/controlplane/log/spec/{id}"
tags: ["Log specification"]
---

# Update log specification

`PATCH /controlplane/log/spec/{id}`

Updates an existing log specification by its ID.

## Path parameters

- `id` string, required

## Request body

- LogSpecUpdateRequest
  - `templates` TemplateSpec[]
    - `capability_category` string
    - `capability_provider` string
    - `template_name` string
    - `add_tags` object
  - `template_vars` object
  - `selector_definition` object
  - `selector` object

## Response `204`

Log specification updated successfully.

## Other responses

- `4XX` — Client error responses due to invalid input or missing parameters.
- `5XX` — Server error responses indicating an issue on the API side.

---

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