A leave can only be updated when it's unsubmitted or rejected.
Update Leave by ID
This API endpoint allows you to update the information of a specific leave record by providing its ID as a parameter in the request. It provides a convenient way to modify leave data with precision. To update a leave record, send a request to this endpoint with the leave ID specified.