Cancel absence request
Deletes one of your absence requests that has not started yet.
POST https://cotlet.dev/api/v1/bizneo/requests/{request_id}/absence-request/cancel
write Confirm
Deletes a request you made. Bizneo lets an employee change a request only until the absence starts; after that only a manager or admin can, and the call fails with a message saying so. The balance goes back to what it was. Your manager is notified. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| request_id string required | string | request_id from list_absence_requests. |
Request
curl -X POST https://cotlet.dev/api/v1/bizneo/requests/request_8c41d2/absence-request/cancel \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("bizneo", "cancel_absence_request", {"request_id":"request_8c41d2"}) const result = await cotlet.call('bizneo', 'cancel_absence_request', {"request_id":"request_8c41d2"}); cotlet call bizneo cancel_absence_request --data '{"request_id":"request_8c41d2"}' Example response
{
"request_id": "abs_17021100",
"state": "cancelled"
}