---
title: "Update topology metadata"
method: POST
path: "/api/v1/topology/{id}/metadata"
tags: ["Topologies", "internal"]
---

# Update topology metadata

`POST /api/v1/topology/{id}/metadata`

Lightweight endpoint for editing topology name and parent. Instead of sending
the entire topology (which includes all hosts, ip_addresses, services, etc.),
only sends the metadata fields.
Fixes HTTP 413 errors on metadata edit operations for large topologies.

## Path parameters

- `id` string, uuid, required

## Request body

- TopologyMetadataUpdate — Lightweight request type for updating topology metadata. Used for editing topology name/parent - instead of sending the entire topology (which includes all hosts, ip_addresses, services, etc.), only sends the metadata fields. Fixes HTTP 413 errors on metadata edit operations.
  - `name` string, required — New name for the topology
  - `network_id` string, uuid, required — Network ID for authorization
  - `parent_id` string, uuid, nullable — New parent topology ID (optional)

## Response `200`

Metadata updated

- ApiResponse
  - `data` TupleUnit — unresolved $ref
  - `error` string, nullable
  - `meta` ApiMeta, required — API metadata included in all responses
    - `api_version` integer, required — API version (integer, increments on breaking changes)
    - `server_version` string, required — Server version (semver)
  - `success` boolean, required

## Other responses

- `403` — Access denied
- `404` — Topology not found

## Changes

- **2026-04-20** `f04499e2280f` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/scanopy/apis/scanopy-api/changes/api/v1/topology/:id/metadata/post.md)

---

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