Endpoint
Authentication
Requires authentication withticket:write permission.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string (UUID) | Yes | Ticket ID to update |
Request Body
Body Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
status | string | Yes | New status for the ticket |
Valid Status Values
PENDING- Newly created ticket awaiting assignmentIN_PROGRESS- Ticket assigned and work in progressCOMPLETED- Work completed, ticket resolvedCANCELLED- Ticket cancelled (no longer needed)
Request Example
Response
Success Response (200)
Error Response (400)
Error Response (404)
Error Response (401)
Error Response (403)
Status Workflow
The typical ticket workflow follows this progression:- PENDING → IN_PROGRESS: When a technician starts working on the ticket
- IN_PROGRESS → COMPLETED: When the work is finished successfully
- IN_PROGRESS → CANCELLED: When the work is no longer needed
- PENDING → CANCELLED: When the ticket is cancelled before assignment
Notes
- The
updatedAttimestamp is automatically updated - Status changes are logged and tracked
- Consider adding notes when changing status to provide context
- Use Assign Ticket to assign tickets before changing to
IN_PROGRESS - Use Update Ticket to add notes when changing status