Skip to main content
This is the standard use case delivered by the Remove User Attribute Process. In this example flow, an authenticated end user removes an e-mail address (or mobile number) that was previously registered as an authN ID (i.e., as an attribute on the corresponding User entity).

Request

Your client calls the Process Start API to initialize the Process:

Response: Specify Attribute

Storefront Gateway responds with a request to specify the attribute to remove:

Final Request

In order to determine the correct e-mail address to remove, the attribute name (“emails”) must be provided, as well as qualifiers to derive the specific e-mail address, as the user may have multiple e-mail addresses registered to their Storefront Gateway ID. In this example, we are searching for the attribute value “ryan@example.com” in the attribute’s property “email”. The client passes that info to the Process with the Process Step API:

Process Complete

If the target authN ID is valid, Storefront Gateway removes the target attribute from the User entity. The Process completes and returns a 200 HTTP status:
Parent topic:Remove User Attribute Process