---
title: "PUT /team/{team_id}/wiki/{slug}"
method: PUT
path: "/team/{team_id}/wiki/{slug}"
tags: ["wiki"]
---

# PUT /team/{team_id}/wiki/{slug}

`PUT /team/{team_id}/wiki/{slug}`

## Path parameters

- `team_id` string, uuid, required
- `slug` string, required

## Request body

- UpdateWikiPageRequest
  - `base_version` integer, nullable
  - `markdown` string, required
  - `title` string, nullable

## Response `200`

Wiki page updated successfully

- WikiPage
  - `created_at` string, required
  - `id` string, required
  - `markdown` string, required
  - `slug` string, required
  - `team_id` string, required
  - `title` string, required
  - `updated_at` string, required
  - `version` integer, required

## Other responses

- `400` — Invalid request data
- `401` — Unauthorized
- `403` — Forbidden - user does not have access to team
- `404` — Wiki page not found
- `409` — Conflict - page was modified since base_version
- `500` — Internal server error

## Changes

- **2026-01-28** `f6ab78c8ccdc` — 7 breaking, 2 warning, 4 info
  - added the new required request property `markdown`
  - the `created_at` response's property type/format changed from `string`/`date-time` to `string`/`` for status `200`
  - the `id` response's property type/format changed from `string`/`uuid` to `string`/`` for status `200`
  - the `team_id` response's property type/format changed from `string`/`uuid` to `string`/`` for status `200`
  - …9 more

[Change history](https://skmtc.dev/structifyai/apis/structify/changes/team/:team_id/wiki/:slug/put.md)

---

[API](https://skmtc.dev/structifyai/apis/structify.md) · [All operations](https://skmtc.dev/structifyai/apis/structify/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/structifyai/structify/revisions/1364930b6980/schema)
