
Initial Request
Your client calls the Process Start API to initialize the Process:Response: Request to specify A/S/F entitlements
Storefront Gateway responds with a prompt to specify the accounts or services that the user wants to leave. In other words, the Process requests for the client to specify the Storefront Gateway Account(s), Subscription(s), or Feature(s) entitlement entities with which the currently authenticated User has an association.id property on each Storefront Gateway entity. As this number is likely not known to the user, the client application should leverage the relevant APIs (e.g., GET /user/accounts API, or GET /user/subscriptions), in conjunction with this Process, to retrieve additional details stored on each entity, and then render the appropriate options (e.g., the displayName of each applicable entity).
Final Request: User Selection
The user is free to select any number of applicable entities to leave. In this example, the user opts to leave a shared Storefront Gateway Subscription, and the client passes that choice back to Storefront Gateway in the Process Step API:Process Complete
Storefront Gateway removes all associations between the current User and the specified entities. The Process returns a200 HTTP status:

