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": {}
}
'

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.