# PUT /api/leave-applications/{id} > Leave Applications - Update Leave Application - **Endpoint:** `PUT /api/leave-applications/{id}` - **Group:** Leave Applications - **Since:** v1.0.0 - **Defined in:** `RestApi/Controllers/LeaveApplicationsController.php` ## Headers | Field | Type | Description | | --- | --- | --- | | `authtoken` | String | Authentication token, generated from admin area | ## Parameters | Field | Type | Required | Description | | --- | --- | --- | --- | | `id` | Number | yes | Leave application unique ID | | `status` | string | no | Optional Status (pending, approved, rejected, canceled) to update | | `reason` | string | no | Optional Reason to update | ## Request example ```bash curl -X PUT "https://yoursite.com/index.php/api/leave-applications/123" \ -H "authtoken: YOUR_API_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "field": "value" }' ``` ## Responses ### Success - Success-Response: ```json HTTP/1.1 200 OK { "status": 200, "messages": {"success": "Leave application update success"} } ``` --- Part of the [REST API for RISE CRM](https://risecrm.themesic.com/apiguide/) documentation. Full page: https://risecrm.themesic.com/apiguide/leave-applications/update-leave-application/