In general, you will not be able to edit an existing leave – rather you will need to delete the existing leave and resubmit a fresh leave request to make a change.
The exception to this case is when the existing leave is an “available” type like wfh, wfo, remote work, and other work statuses. In this case, any leave requested will prompt the user to override the existing request with the new request, skipping the cancellation step entirely.
A final note: If you want to delete a past leave that has already elapsed, you will need to be a manager or admin (or ask your manager). Here is the manager guide to deleting past approved leaves.