Skip to main content
PATCH
/
v1
/
leave-entitlements
/
{id}
Update a leave entitlement
curl --request PATCH \
  --url https://api.plane.com/v1/leave-entitlements/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "overrides": {},
  "ends": {}
}
'

Documentation Index

Fetch the complete documentation index at: https://docs.plane.com/llms.txt

Use this file to discover all available pages before exploring further.

Parameters

id
string
required
The ID of the leave entitlement to update.
overrides
object
Sparse policy overrides for this worker.
ends
string | null
New end date for the entitlement. Pass null to clear the end date.

Returns

Returns the updated Leave Entitlement object.