# 전자서명 취소 API

요청된 전자서명을 취소하는 경우 사용할 수 있는 API입니다.

* 서명이 체결 완료되기 전에만 취소가 가능합니다.
* 서명 참여자에게 전자서명 취소 메시지가 발송됩니다.

<br>

## `POST` kit-api/v1/signatures/\[signature uuid]/cancel

Method: POST\
Endpoint: kit-api/v1/signatures/\[signature uuid]/cancel

<br>

## Example

```
.../kit-api/v1/signatures/57139f5c-37d0-4c30-bdb6-ef6106040756/cancel
```

<br>

## Response

```json
{
  "ok": true,
  "message": undefined, // 실패하는 경우 메시지 (string)
  "data": {
    // 전자서명 정보
    "uuid": "57139f5c-37d0-4c30-bdb6-ef6106040756", // 전자서명 식별값
    "title": "A컴퍼니 MOU 전자서명", // 전자서명 제목
    "expiredDate": "2024-10-15T00:00:00.000Z", // 전자서명 만료일
    "status": "CANCELED", // 전자서명 상태 (CREATED, WAITING, DONE, CANCELED)
    "createdAt": "2024-10-01T00:00:00.000Z" // 생성일
  }
}
```

<br>

| Status Code | Error Code                | Description         |
| ----------- | ------------------------- | ------------------- |
| 404         | NOT\_FOUND\_SIGNATURE     | 전자서명 정보가 존재하지 않는 경우 |
| 500         | SIGNATURE\_CANCEL\_FAILED | 전자서명 취소를 실패한 경우     |

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://api-kit.prix.im/signature/cancel.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
