Admin

Take an account off the demo-account allowlist (admins only).

Ends every session an agent signed in with as the account (revokedSessions), and admins can no longer act for it. Idempotent. Audited. Scope: account:write. Free.

delete/admin/demo-accounts/{userId}

Request

  • Base URL: https://docs.sleeperhit.studio/api/v1
  • URL: https://docs.sleeperhit.studio/api/v1/admin/demo-accounts/{userId}
  • Auth: HTTP bearer

Response

The account is no longer a demo account.

userIdstring required
demoboolean required
revokedSessionsinteger required

Sessions minted for the account that removing it ended.

Changes

No recorded changes to this operation across all 1 revision of this API.