---
title: "POST /api/v1/documents/{docCode}/group"
method: POST
path: "/api/v1/documents/{docCode}/group"
tags: ["document-controller"]
---

# POST /api/v1/documents/{docCode}/group

`POST /api/v1/documents/{docCode}/group`

## Request

- Base URL: `https://postmd.turink.com`
- URL: `https://postmd.turink.com/api/v1/documents/{docCode}/group`
- Auth: HTTP bearer

Requires API key scope `documents:write`.

## Path parameters

- `docCode` string, required

## Request body

- GroupAssignRequest
  - `groupId` integer

## Response `200`

OK

---

[API](https://skmtc.dev/turink/apis/postmd-api.md) · [All operations](https://skmtc.dev/turink/apis/postmd-api/llms.txt) · [OpenAPI document](https://skmtc.dev/turink/apis/postmd-api/revisions/cec727bfd959?raw)
