profile

Set or Clear the Staff View-as Role

Previews the current org through the given role's eyes: permission resolution intersects the role with the staff baseline, so it can only narrow access. A null role id clears the preview.

patch/v2/profile/view-as

Request

  • Base URL
    https://api.stuut.ai (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Request body

role_idstring nullable required

Response

Successful Response

Changes

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