Superadmin APIs/Admin Management
Impersonate Admin (Login As)
GET
/superadmin/adminlogin/:idReturns full auth response with JWT token for the target admin.
Bearer token required
SUPERADMINContent-Type:
application/jsonPath Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | number | Required |
Code Examples
curl -X GET 'https://<your-domain>:3001/superadmin/adminlogin/:id' \
-H 'Authorization: Bearer <token>'Try It
API Playground
Sends a real request to the configured serverid*