At the end of each lab, it is advisable to perform resource clean up to keep the environment
tidy. Within your Postman Collections, there is a series of APIs in Close Account folder you
would need to call, namely:
1. Remove Restriction: Make a PUT call to the Restriction Sets Update endpoint. Set the
Restriction you have created earlier to inactive. In OpsDash, the restriction would be
removed
2. Set Account Status to Pending Closure: Make a PUT call to the Account Update
endpoint. The API response would reflect if the call is successful. You can cross check
with the OpsDash for account status.
3. Zero out the Account Balances: Make a POST call to reverse the posting you have
made earlier. The balances should be zero