Delete a screen
REST API Equivalent. You can use the /config/{app}/flows/{flow}/screens/{screen} operation and the DELETE method to delete a screen.
Similar to deleting a form , deleting a screen can have unexpected consequences. For example, suppose you delete the forgotPassword screen, but donβt change any of the HTML markup or any of the other flow elements that Β refer to that screen. Hereβs what JavaScript SDK users will see if they click the Forgot Password? link on your sign-in screen:
Believe it or not, thereβs actually a screen here: if you squint your eyes and look closely enough youβll see a Close button in the upper right-hand corner. (Incidentally, this button actually works: click it and the βscreenβ will disappear.) Why did we get a blank screen when we asked for the forgotPassword screen? You got it: we asked the Identity Cloud to display the forgotPassword screen, but that screen doesnβt exist. Under those circumstances, the Identity Cloud does the best it can to display something onscreen.
In other words, if youβre going to delete one of the predefined screens youβll also need to delete all other references to that screen, especially all references in your HTML markup. Before you start deleting screens, check with your Identity Cloud representative.
If you decide that you do need to delete a screen, just click the trashcan icon associated with that screen:
After that, click Delete in the confirmation dialog, and your screen will be removed from the flow:
If you delete a screen and then later regret that decision you can simply create a new screen that uses the same name as the deleted screen and your problems (or at least your Identity Cloud screen problems) should be solved. Alternatively, you can restore a flow that includes the deleted screen.
Updated over 2 years ago