curl --request POST \
--url https://api.plane.com/v1/leave-entitlements \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"worker": "<string>",
"policy": "<string>",
"starts": "<string>",
"ends": "<string>",
"overrides": {}
}
'Assign a leave policy to a worker.
curl --request POST \
--url https://api.plane.com/v1/leave-entitlements \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"worker": "<string>",
"policy": "<string>",
"starts": "<string>",
"ends": "<string>",
"overrides": {}
}
'Was this page helpful?