Cancels the given @agent_leave_petition_id for the agent and organization sending the request. If @agent_leave_petition_id has a status of APPROVED_PETITION, the agent's schedule will have time off blocks removed, but any desired shifts must be added by the user after that leave is canceled. Errors:
grpc.Invalid: the request data is invalid, the @agent_leave_petition_id is already canceled.
grpc.Internal: error occurs when canceling the agent leave petition, or removing time off shifts from the agent's schedule.
grpc.NotFound: the @agent_leave_petition_id does not exist for the org sending the request.
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.