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

# Delete contract assessment

> Delete a contract with its versions, exceptions and review decisions, remove every journal entry its revenue policy posted, then post the subscription's term again by the ledger's accounting rules, as if no policy had matched it; no policy matches that term again.



## OpenAPI

````yaml delete /v1/accounting/contract-assessments/{id}
openapi: 3.1.0
info:
  title: Hyperline API
  version: 0.0.0
servers:
  - url: https://api.hyperline.co
  - url: https://sandbox.api.hyperline.co
security: []
paths:
  /v1/accounting/contract-assessments/{id}:
    delete:
      tags:
        - Accounting > Revenue policies
      summary: Delete contract assessment
      description: >-
        Delete a contract with its versions, exceptions and review decisions,
        remove every journal entry its revenue policy posted, then post the
        subscription's term again by the ledger's accounting rules, as if no
        policy had matched it; no policy matches that term again.
      operationId: deleteContractAssessment
      parameters:
        - schema:
            type: string
          required: true
          name: id
          in: path
      responses:
        '204':
          description: Contract assessment deleted.
        '400':
          description: >-
            An entry to remove or post again is in a closed month, or the
            contract has too many documents.
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                required:
                  - message
        '404':
          description: Contract assessment not found.
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                required:
                  - message
      security:
        - bearer: []
components:
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      bearerFormat: JWT

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.