deleteSimulatorSession
Retire a simulator session to start a deliberate rotation, then mint a new one. Not for cleanup—deleting disconnects attached apps. Idempotent, returns alreadyGone if absent.
Instructions
Retire a simulator session on purpose. USE only when you genuinely need a NEW session identity — a different session id and URL. You almost never do. createSimulatorSession already RESUMES the saved sim for a project: same session, same URL, your app reattaches with no rebuild. That is the persistent-sim model and it is the intended way to work. DON'T USE to 'clean up' or 'start over' when something looks wrong — deleting disconnects any attached app and browser, and an app carrying a baked EXTENTOS_SESSION_URL needs a rebuild against the new one. Deleting is the FIRST HALF of a deliberate rotation: delete, THEN mint. There is no one-call force-fresh, precisely so a rotation is two explicit steps rather than a silent replace. Sim churn is what that costs you: discarded sessions leave device registrations behind that outlive them, and a later mint can auto-bind to an app that is already gone. Idempotent — deleting a session that is already gone returns alreadyGone: true rather than an error, so a retry is safe and you can still tell the two apart.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes |