- 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 userGET
- Update current userPUT
- Change current user passwordPUT
- Get current user active plans (Not implemented yet)GET
- Get organization membersGET
- Get current user productsGET
- Get current organizationGET
- Update current organizationPUT
- Get subscriptions historyGET
- Change users productPUT
- Checks if authorization token is validGET
- Get current user permissionsGET
- Check if the user can be deletedGET
- Delete my accountDELETE
- Generates a new access tokenPUT
- Revokes the current access tokenPUT
- (Admin) Transfers all the resources from the user to another userPUT
- Organizations
- Users
- Whitelabel Settings
Generates a new access token
PUT
/v2/user/generate_access_token
User
Last modified:2025-04-24 10:59:46
This access token can be used to authenticate the user
in the API using the Access Token Authentication method.
Request
None
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 PUT '/v2/user/generate_access_token'
Responses
🟢200OK
application/json
Body
token
stringÂ
optional
username
stringÂ
optional
message
stringÂ
optional
Example
{
"token": "string",
"username": "string",
"message": "string"
}
🟠401Unauthorized
Modified at 2025-04-24 10:59:46