curl --request POST \
--url https://api.plane.com/v1/leave-requests \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"worker": "<string>",
"type": "<string>",
"dates": [
{}
],
"note": "<string>"
}
'Create a leave request for a worker.
curl --request POST \
--url https://api.plane.com/v1/leave-requests \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"worker": "<string>",
"type": "<string>",
"dates": [
{}
],
"note": "<string>"
}
'Was this page helpful?