Skip to main content
The flow is similar to the standard User Leaves A/S/F use casethe standard User Leaves A/S/F use case, except all the user’s information is provided in the initial Process Start request. In most cases, the Process Start API optionally consumes no initial payload. Once a Process initializes, Storefront Gateway responds with a request for the data it requires to complete its task. However, the User Leaves A/S/F Process is one of the cases where the client can provide the required data upfront, in the initial request body. This can be useful if you want your UI to collect the required data, in a flow you deem easiest for your end users, before first before calling the Process.

Request

If your client has all the relevant information, it provides that calls the Process with the Process Step API, and includes that information in the request body:

Response

Provided all the information is accurate, Storefront Gateway removes any associations between the current User and the specified entities (Accounts, Subscriptions, Features). The Process returns a 200 HTTP status: