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

# Update a specific case



## OpenAPI

````yaml patch /api/cases/{id}
openapi: 3.0.3
info:
  title: Athena API
  version: v3
  x-logo:
    url: https://cynopsis.co/wp-content/uploads/2021/03/logo-2.png
    altText: Cynopsis Solutions
  description: >-
    ATHENA is an advanced real-time transaction monitoring solution designed to
    detect and prevent money laundering, fraud, and terrorism financing. Powered
    by proprietary AML rules, ATHENA analyzes transactions in real time,
    providing clear, intuitive visual insights to streamline compliance
    processes.
        
        ✅ Real-Time Monitoring – Instantly analyzes transaction data to detect anomalies and potential compliance risks.
        ✅ Visualized Insights – Converts complex data into easy-to-understand charts, aiding faster decision-making.
        ✅ Seamless Integration – Easily integrates with existing financial and compliance systems.
        
        Ideal for financial institutions, fintech companies, and regulated businesses, ATHENA enhances risk management and ensures regulatory compliance with ease.
  contact:
    email: tech@cynopsis.co
servers:
  - url: http://localhost/api
    description: Local development server
security: []
paths:
  /api/cases/{id}:
    patch:
      tags:
        - Case
      summary: Update a specific case
      operationId: case_partial_update
      parameters:
        - in: path
          name: id
          schema:
            type: integer
          description: A unique integer value identifying this case.
          required: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchedCaseRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PatchedCaseRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/PatchedCaseRequest'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Case'
          description: ''
      security:
        - CustomAuthentication: []
        - cookieAuth: []
        - BearerAuth: []
components:
  schemas:
    PatchedCaseRequest:
      type: object
      properties:
        active_timestamp:
          type: string
          format: date-time
        alert_date:
          type: string
          minLength: 1
        case_status_order:
          type: integer
          default: 2
        created_by:
          type: integer
          nullable: true
        created_on:
          type: string
          minLength: 1
        last_updated_at:
          type: string
          minLength: 1
        modified_by:
          type: integer
          nullable: true
    Case:
      type: object
      properties:
        active_timestamp:
          type: string
          format: date-time
        ageing:
          type: integer
          readOnly: true
        alert_date:
          type: string
        alert_risk_rating:
          type: string
          readOnly: true
        approvals:
          type: array
          items: {}
          readOnly: true
        assignee:
          type: object
          additionalProperties: {}
          readOnly: true
        available_actions:
          type: array
          items: {}
          readOnly: true
        bucket:
          type: object
          additionalProperties: {}
          readOnly: true
        case_action:
          type: string
          readOnly: true
        case_checkers:
          type: array
          items: {}
          readOnly: true
        case_maker:
          type: object
          additionalProperties: {}
          readOnly: true
        case_owner:
          type: object
          additionalProperties: {}
          readOnly: true
        case_status:
          type: string
          readOnly: true
        case_status_order:
          type: integer
          default: 2
        case_subjects:
          type: object
          additionalProperties: {}
          readOnly: true
        created_by:
          type: integer
          nullable: true
        created_on:
          type: string
        documents:
          type: array
          items: {}
          readOnly: true
        findings:
          type: array
          items: {}
          readOnly: true
        histories:
          type: array
          items: {}
          readOnly: true
        id:
          type: integer
          readOnly: true
        last_updated_at:
          type: string
        last_updated_by:
          type: object
          additionalProperties: {}
          readOnly: true
        modified_by:
          type: integer
          nullable: true
        priority:
          type: integer
          readOnly: true
          default: 1
        reports_code:
          type: array
          items: {}
          readOnly: true
        reports_indicator:
          type: array
          items: {}
          readOnly: true
        rule:
          type: object
          additionalProperties: {}
          readOnly: true
        rule_parameter:
          type: object
          additionalProperties: {}
          readOnly: true
      required:
        - active_timestamp
        - ageing
        - alert_date
        - alert_risk_rating
        - approvals
        - assignee
        - available_actions
        - bucket
        - case_action
        - case_checkers
        - case_maker
        - case_owner
        - case_status
        - case_subjects
        - created_on
        - documents
        - findings
        - histories
        - id
        - last_updated_at
        - last_updated_by
        - priority
        - reports_code
        - reports_indicator
        - rule
        - rule_parameter
  securitySchemes:
    CustomAuthentication:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: JWT token obtained from AWS Cognito or custom authentication service
    cookieAuth:
      type: apiKey
      in: cookie
      name: sessionid

````