Zoho People icon

Zoho People

Consume Zoho People API

Leave → Cancel Leave

AI-generated

Summary

Cancel a specific leave record in Zoho People by providing the leave's Record ID, optionally including a reason for the cancellation.

Inputs

  • Record ID (required) — The unique Record ID of the leave request to cancel.
  • Reason — A text reason explaining why the leave is being canceled; defaults to '-' if not provided.

Output shape

a single JSON object representing the API response to the cancel leave request

The output returns the response from Zoho People's cancel leave API call. Error handling follows node-wide settings; if 'Continue On Fail' is enabled, errors will appear as objects in the output array.

Examples

Example 1: Cancel a leave with a specific record ID and provide a reason.

Set the 'Record ID' to the leave to be canceled, optionally set a 'Reason' to document why the leave is canceled.

Discussion