Want to hit the reset button on a user profile on a schedule? Schedule Appcues Public API requests with Postman! The delete user profile endpoint will wipe out the user profile and reset all their experiences, profile attributes, and tracked events. Next time they log in or you run an identify() call, and they'll start fresh with a clean slate—perfect for testing!
Note that this endpoint does not remove user activity from analytics and reporting.
This guide provides steps on how to schedule user profile deletion requests to our Public API using Postman, but the same can be achieved for other requests. To see the full list of endpoints, check out our Public API documentation!
The request URL to delete user profiles is https://api.appcues.com/v2/accounts/{account_id}/users/{user_id}/profile. You will need to replace the placeholders in the URL with your account ID and the user ID of the profile you want deleted.
This is the step where you can set up how often you would like the Collection requests to run. For this example, we are going to set up a weekly deletion that occurs at midnight every Monday, but you can choose what works best for you!
Set Environment and Iterations
Select the Environment (if necessary) and the number of times (iterations) you'd like the schedule to run. Postman has a limit of 50 iterations.
Schedule Run
That's it! Postman will now run your Collection's requests according to the schedule you set.