- Getting Started
- Authentication
- Common Error Responses
- Filtering Data
- Authentication
- User Confirmation
- User Invitation
- Password Reset
- Impersonation
- MFA
- Sign in authenticationPOST
- Sign in with recovery codePOST
- Sign out authenticationDELETE
- Targets
- Scans
- Reports
- Vulnerabilities
- Exceptions
- Schedules
- Webhooks
- Advanced Reports
- Audit
- Notifications
- Hosts
- Scanners
- Port Lists
- User
- User 2FA
- User Preferences
- Get current user
- Update current user
- Change current user password
- Get current user active plans (Not implemented yet)
- Get organization members
- Get current user products
- Get current organization
- Update current organization
- Get subscriptions history
- Change users product
- Checks if authorization token is valid
- Get current user permissions
- Check if the user can be deleted
- Delete my account
- Generates a new access token
- Revokes the current access token
- (Admin) Transfers all the resources from the user to another user
- Organizations
- Users
- Whitelabel Settings
Impersonate user
POST
/auth/impersonate
Authentication/Impersonation
Last modified:2025-04-24 10:59:46
Request
Query Params
uuid
string <uuid>
required
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/auth/impersonate?uuid'
Responses
🟢200OK
application/json
Body
username
stringÂ
optional
Example:
johndoe
token
stringÂ
optional
Example:
eeSfFvGHOiJXXxI1Nia9.eyJz655iOiI1Iiwic2NwIjoidXNlciIsI744ZCI6bnVsbCwiaWF0888xNzQzMTczMTY1LCJleHAiOjE3NDU4MDI5MTEsImp0aSI6IjGfDGM0NjAxLTA4ZTUtNDkyZS0fFsU1LAz3ZvQxNDFDNzRkZS49.R$$^fGHhjNvA66@11aRvsVMa9UJGf_JQVfAsZcwwWa4
role
enum<string>Â
optional
Allowed values:
UserAdminSuper Admin
Example:
Admin
timezone
stringÂ
optional
Example:
UTC
provider
stringÂ
optional
Example:
email
impersonator_revert_token
stringÂ
optional
Example:
20176ac7-7c05-4ffa-93fb-008b06150182
created_at
stringÂ
optional
Example:
2025-03-28T12:34:56.789Z
updated_at
stringÂ
optional
Example:
2025-03-28T12:34:56.789Z
Example
{
"username": "johndoe",
"token": "eeSfFvGHOiJXXxI1Nia9.eyJz655iOiI1Iiwic2NwIjoidXNlciIsI744ZCI6bnVsbCwiaWF0888xNzQzMTczMTY1LCJleHAiOjE3NDU4MDI5MTEsImp0aSI6IjGfDGM0NjAxLTA4ZTUtNDkyZS0fFsU1LAz3ZvQxNDFDNzRkZS49.R$$^fGHhjNvA66@11aRvsVMa9UJGf_JQVfAsZcwwWa4",
"role": "User",
"timezone": "UTC",
"provider": "email",
"impersonator_revert_token": "20176ac7-7c05-4ffa-93fb-008b06150182",
"created_at": "2025-03-28T12:34:56.789Z",
"updated_at": "2025-03-28T12:34:56.789Z"
}
🟠403Forbidden
🟠404Record Not Found
Modified at 2025-04-24 10:59:46