Skip to main content
POST
/
impersonate-admin
/
{userId}
Login as university admin (impersonate)
curl --request POST \
  --url http://localhost/mogl/mogl-admin-dashboard/impersonate-admin/{userId} \
  --cookie mogl_session=

Documentation Index

Fetch the complete documentation index at: https://developer.mogl.online/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

mogl_session
string
cookie
required

Session-based authentication via cookies + CSRF token

Path Parameters

userId
integer
required

Response

200

University admin impersonation token returned