stopFlow

inline suspend fun AppflowClient.stopFlow(crossinline block: StopFlowRequest.Builder.() -> Unit): 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.