stopFlow

abstract suspend fun stopFlow(input: StopFlowRequest): StopFlowResponse

Deactivates the existing flow. For on-demand flows, this operation returns an unsupportedOperationException error message. For schedule and event-triggered flows, this operation deactivates the flow.