Skip to main content

deleteLeaveAllocation

Delete a leave allocation from Odoo, reverting its approval state first if needed. Rejected if absences have already been booked against the allocation.

Requires authorization features: employee:leave:edit

deleteLeaveAllocation(
id: OdooID!
): Boolean!

Directives​

auth​

Requires authorization features: employee:leave:edit

Arguments​

deleteLeaveAllocation.id ● OdooID! non-null scalar​

Type​

Boolean scalar​

The Boolean scalar type represents true or false.