v1
Auth
Auth

Set View As

Set (shop_role_id) or clear (null) the admin's view-as role switch.

Platform-admin only (require_platform_admin). Note this is a role SWITCH, not strictly a demotion any more: since the flag itself grants nothing in-shop, an admin whose own row holds a low role could preview a higher one. Acceptable — platform admins are trusted Jeevy staff who can give themselves owner via the console anyway; the value of view-as is the faithful preview, not a privilege boundary.

patch/api/v1/auth/me/view-as

Request

  • Base URL: https://api.jeevyfabrication.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.jeevyfabrication.com/api/v1/auth/me/view-as
  • Auth: none declared

Request body

object required

Response

Successful Response

unknown required

Changes

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