- Common Error Responses
- Authentication
- Filtering Data
- Getting Started
- Authentication
- User Confirmation
- User Invitation
- Password Reset
- Impersonation
- MFA
- Sign in authenticationPOST
- Sign in with recovery codePOST
- Sign out authenticationDELETE
- Advanced Reports
- Audit
- Notifications
- Exceptions
- Hosts
- Organizations
- Whitelabel Settings
- Port Lists
- Reports
- Scanners
- Scans
- Schedules
- Targets
- 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
- Users
- Vulnerabilities
- Webhooks
Updates a scan
PUT
/v2/scans/{id}
Scans
Last modified:2025-04-24 10:59:46
Request
Path Params
id
stringÂ
required
Body Params application/json
scan
objectÂ
optional
name
stringÂ
optional
Example:
My Scan
comment
stringÂ
optional
Example:
My comment
target_id
string <uuid>
optional
schedule_id
string <uuid>
optional
config_id
string <uuid>
optional
scanner_id
string <uuid>
optional
Example
{
"scan": {
"name": "My Scan",
"comment": "My comment",
"target_id": "d3bcdc92-4191-401b-ad0c-42056c6efab9",
"schedule_id": "8929bb67-0da1-406c-99d2-5447376a4f58",
"config_id": "d1d31429-d888-4f1c-b9c1-4e842f9bce5b",
"scanner_id": "43593f58-da3f-45f0-a7bf-8763ef29bdf1"
}
}
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/scans/' \
--header 'Content-Type: application/json' \
--data-raw '{
"scan": {
"name": "My Scan",
"comment": "My comment",
"target_id": "d3bcdc92-4191-401b-ad0c-42056c6efab9",
"schedule_id": "8929bb67-0da1-406c-99d2-5447376a4f58",
"config_id": "d1d31429-d888-4f1c-b9c1-4e842f9bce5b",
"scanner_id": "43593f58-da3f-45f0-a7bf-8763ef29bdf1"
}
}'
Responses
🟢200OK
This response does not have a body.
🟠401Unauthorized
🟠404Record Not Found
🟠422Parameter Error
Modified at 2025-04-24 10:59:46