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

# Delete a payment term

> Companies drop it from their lists; purchase orders keep their copied lines (the line's
        payment_term_id becomes null).



## OpenAPI

````yaml /openapi.yaml delete /payment_terms/{id}
openapi: 3.0.1
info:
  title: GetSpecs REST API
  description: REST API documentation for GetSpecs.
  version: 1.0.0
servers:
  - url: /v1
  - url: https://demo-api.getspecs.io/v1
security: []
paths:
  /payment_terms/{id}:
    parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
    delete:
      tags:
        - PaymentTerm
      summary: Delete a payment term
      description: >-
        Companies drop it from their lists; purchase orders keep their copied
        lines (the line's
                payment_term_id becomes null).
      operationId: payment_terms#destroy
      responses:
        '204':
          description: No Content
        '403':
          description: Forbidden
      security:
        - apiKey: []
          workspaceId: []
components:
  securitySchemes:
    apiKey:
      type: apiKey
      name: authorization
      in: header
    workspaceId:
      type: apiKey
      name: X-Workspace-ID
      in: header

````

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