impersonate_user
Enable admins to temporarily assume the identity of another user for testing or troubleshooting by generating an impersonation token with customizable duration.
Instructions
Impersonate another user (admin only)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
collectionIdOrName | No | Collection name or id (default: users) | users |
duration | No | Token expirey time (default: 3600) | |
id | Yes | ID of the user to impersonate |