# 계약서에 태그 연결 API

계약서에 연결된 태그를 업데이트할 수 있는 API를 제공합니다.

<br>

## `PATCH` kit-api/v1/contracts/\[contract uuid]

Method: PATCH\
Endpoint: kit-api/v1/contracts/\[contract uuid]\
Param: contract uuid는 계약서의 식별값을 의미

<br>

## Example

```
...kit-api/v1/contracts/ed976505-bcbd-47bd-913d-f4cde05dea7a
```

```json
{
  "input": {
    "tagIds": [12345, 12346]
  }
}
```

<br>

## Request Body

| Key          | Type         | Description      | Required |
| ------------ | ------------ | ---------------- | -------- |
| input.tagIds | number array | 연결할 계약서 태그 ID 목록 | yes      |

<br>

## Response

```json
{
  "ok": true // api 성공 시
}
```

<br>

```json
{
  "ok": false, // api 실패 시
  "message": "error message",
  "errorCode": "ERROR_CODE"
}
```

<br>
