GuideLab API

Clear admin viewing organization

Remove the admin viewing organization cookie, returning to the admin's own context. Platform admin access required.

DELETE
/admin/set-viewing-org

Remove the admin viewing organization cookie, returning to the admin's own context. Platform admin access required.

Authorization

__Secure-guidelab-prod.session_token<token>

Production session cookie set for the guidelab.co domain by Better Auth

In: cookie

Response Body

application/json

curl -X DELETE "https://example.com/admin/set-viewing-org"
{  "success": true}
Empty
Empty