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

Parameters: cancel_absence_request
NameTypeDescription
request_id string required string request_id from list_absence_requests.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/bizneo/requests/request_8c41d2/absence-request/cancel \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("bizneo", "cancel_absence_request", {"request_id":"request_8c41d2"})
Node.js
const result = await cotlet.call('bizneo', 'cancel_absence_request', {"request_id":"request_8c41d2"});
CLI
cotlet call bizneo cancel_absence_request --data '{"request_id":"request_8c41d2"}'

Example response

JSON

{
  "request_id": "abs_17021100",
  "state": "cancelled"
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.