# PUT /api/tickets/{id} > Tickets - Update a Ticket - **Endpoint:** `PUT /api/tickets/{id}` - **Group:** Tickets - **Since:** v1.0.0 - **Defined in:** `RestApi/Controllers/TicketsController.php` ## Headers | Field | Type | Description | | --- | --- | --- | | `authtoken` | String | Authentication token, generated from admin area | ## Parameters | Field | Type | Required | Description | | --- | --- | --- | --- | | `id` | Number | yes | Ticket unique ID | | `title` | string | yes | Mandatory Ticket title | | `client_id` | int | yes | Mandatory Ticket client_id | | `requested_by_id` | int | yes | Mandatory Ticket requested_by_id | | `ticket_type_id` | int | yes | Mandatory Ticket ticket_type_id | | `assigned_to` | int | yes | Mandatory Ticket assigned_to | | `ticket_labels` | string | yes | Optional Ticket ticket_labels | ## Request example ```bash curl -X PUT "https://yoursite.com/index.php/api/tickets/123" \ -H "authtoken: YOUR_API_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "title": "...", "client_id": "...", "requested_by_id": "...", "ticket_type_id": "...", "assigned_to": "...", "ticket_labels": "..." }' ``` ## Responses ### Success - Success-Response: ```json HTTP/1.1 200 OK { "status": true, "message": "Ticket update successful." } HTTP/1.1 404 Not Found { "status": false, "message": "Ticket update fail." } ``` --- Part of the [REST API for RISE CRM](https://risecrm.themesic.com/apiguide/) documentation. Full page: https://risecrm.themesic.com/apiguide/tickets/update-ticket/