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

# Delete a CSAT rule



## OpenAPI

````yaml delete /v1/csat/rules/{id}
openapi: 3.0.0
info:
  title: Thena Platform
  description: The Thena Platform API description
  version: 1.0.0
  contact: {}
servers:
  - url: https://platform.thena.ai
    description: Platform
  - url: http://localhost:8000
    description: Local
security:
  - ApiKey: []
tags: []
paths:
  /v1/csat/rules/{id}:
    delete:
      tags:
        - CSAT
      summary: Delete a CSAT rule
      parameters:
        - name: id
          required: true
          in: path
          schema:
            type: string
      responses:
        '204':
          description: Success - CSAT rule deleted successfully
        '401':
          description: Unauthorized
          content:
            application/json:
              example:
                statusCode: 401
                message: Unauthorized
                error: Unauthorized
        '403':
          description: Forbidden
          content:
            application/json:
              example:
                statusCode: 403
                message: Forbidden
                error: Forbidden
        '404':
          description: CSAT rule not found
          content:
            application/json:
              example:
                statusCode: 404
                message: CSAT rule with ID rule123 not found
                error: Not Found
        '429':
          description: Too many requests!
        '500':
          description: Internal Server Error
          content:
            application/json:
              example:
                statusCode: 500
                message: Internal Server Error
                error: Internal Server Error
        '503':
          description: Service Unavailable
          content:
            application/json:
              example:
                statusCode: 503
                message: Service Unavailable
                error: Service Unavailable
components:
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: 'Enter your API key '

````