UPDATE Cases

PUT /api/v1/cases/:uuid

Updates an existing case identified by UUID.

Path Params

Name
Type
Required
Description

uuid

string

Yes

UUID of case to update.

Body Params

Only these fields are accepted (unknown fields return 400):

Name
Type
Required
Validation / Notes

case_name

string

No

Max 255, cannot contain `+ < > : " / \

case_number

string

No

Max 255, same character restrictions

description

string

No

Max 2000

status

string

No

Max 255

type

string

No

Max 255

case_lead_id

integer

No

Positive integer

client_id

integer

No

Positive integer

case_open_date

string

No

Must be strict YYYY-MM-DD and valid calendar date

case_closed_date

string

No

Must be strict YYYY-MM-DD and valid calendar date

Success Response (200)

{
  "success": true,
  "message": "Case updated successfully",
  "case_id": 123
}

Error Responses

  • 400 validation error:

  • 400 when UUID does not resolve to a case:

  • 500 server error:

Example

Last updated