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

# Delete a Ratecard

> Deletes (soft-delete) a ratecard by ID. Returns the deleted ratecard object with `deleted_at` timestamp set.



## OpenAPI

````yaml /api-reference/openapi.json delete /ratecards/{id}
openapi: 3.1.0
info:
  title: COR API
  description: >-
    The COR API lets you integrate with projectcor.com applications using simple
    HTTP methods, in either XML or JSON formats, making this an ideal API for
    developing integrations with other softwares, external clients or mobile
    applications
  version: 1.0.0
servers:
  - url: https://api.projectcor.com/v1
    description: Production server
security:
  - bearerAuth: []
paths:
  /ratecards/{id}:
    delete:
      tags:
        - Ratecards
      summary: Delete a Ratecard
      description: >-
        Deletes (soft-delete) a ratecard by ID. Returns the deleted ratecard
        object with `deleted_at` timestamp set.
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: integer
          description: Ratecard ID
      responses:
        '200':
          description: Ratecard deleted successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Ratecard'
              example:
                id: 50
                original_name: Custom Ratecard 1
                name: Custom Ratecard 1
                percent: 20
                company_id: 2336
                system: false
                created_at: '2025-12-15 00:24:41'
                updated_at: '2025-12-15 01:10:05'
                deleted_at: '2025-12-15 01:15:10'
                external_key: BILLING-RC-001
                currency_id: 2
                linked_to_base_price: true
        '204':
          description: Ratecard deleted successfully (no content)
components:
  schemas:
    Ratecard:
      type: object
      description: A ratecard defines pricing configurations for the company
      properties:
        id:
          type: integer
          description: Unique identifier for the ratecard
        name:
          type: string
          description: Display name of the ratecard
        original_name:
          type: string
          description: Original/system name of the ratecard
        percent:
          type: number
          description: Percentage applied by this ratecard
        company_id:
          type: integer
          description: Company ID that owns this ratecard
        system:
          type: boolean
          description: Whether this is a system-generated ratecard
        currency_id:
          type:
            - integer
            - 'null'
          description: >-
            Associated currency ID. Defaults to the system's base currency if
            not specified.
        linked_to_base_price:
          type: boolean
          description: Whether the ratecard is calculated based on base price
        external_key:
          type:
            - string
            - 'null'
          description: External key for integration with external systems
        created_at:
          type: string
          format: date-time
          description: Creation timestamp
        updated_at:
          type: string
          format: date-time
          description: Last update timestamp
        deleted_at:
          type:
            - string
            - 'null'
          format: date-time
          description: Deletion timestamp (soft delete)
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````