> ## Documentation Index
> Fetch the complete documentation index at: https://docs.openapi.pluuug.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 계약 삭제

> 계약을 삭제합니다. **Soft delete** (Contract는 `SoftDeleteOrderedBaseModel`) — `is_deleted=True`로 마킹되며 목록 조회에서 제외됩니다. 연결된 의뢰의 `contract` 참조는 자동 해제되지 않으니 필요 시 의뢰 수정 API로 별도 처리.



## OpenAPI

````yaml DELETE /v1/contract/{contract_id}
openapi: 3.1.0
info:
  title: pluuug openapi
  version: 1.0.0
  description: >-
    플러그에서 제공하는 REST API의 상세 내용을 확인하고 직접 테스트할 수 있는 인터페이스입니다.<br>이 문서를 통해 API의
    엔드포인트, 요청 및 응답 형식 등을 확인할 수 있습니다.
servers:
  - url: https://openapi.pluuug.com
security: []
paths:
  /v1/contract/{contract_id}:
    delete:
      tags:
        - contract
      summary: 계약 삭제
      description: >-
        계약을 삭제합니다. **Soft delete** (Contract는 `SoftDeleteOrderedBaseModel`) —
        `is_deleted=True`로 마킹되며 목록 조회에서 제외됩니다. 연결된 의뢰의 `contract` 참조는 자동 해제되지
        않으니 필요 시 의뢰 수정 API로 별도 처리.
      operationId: contract_destroy
      parameters:
        - in: path
          name: contract_id
          schema:
            type: integer
          required: true
      responses:
        '204':
          description: No response body
      security:
        - ApiKeyAuth: []
          Signature: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
    Signature:
      type: apiKey
      in: header
      name: X-Signature
      description: |-
        HMAC-SHA256 방식으로 body를 secret key로 해싱하여 생성한 서명을 넣어야 합니다.
        서버는 X-API-Key와 대응되는 secret key로 서명을 검증합니다.

````