Bulk Partial Update Targets with Unlimited Scans
PATCH/account/unlimited/
Request
Query Parameters
and
- andor
- orNone
- Not applicable.0
- No risk.10
- Low risk.20
- Medium risk.30
- High risk.
Names of the teams to exclude from results, as a query string.
For example, "exclude_team=Frontend" or "exclude_team=Frontend&exclude_team=Backend".
Target labels to filter results, as a query string.
For example, "label=Production" or "label=Production&label=QA".
Possible values: [and
, or
]
Logical operator to apply between target labels.
(Defaults to or
)
Which field to use when ordering the results.
Possible values: [0
, 10
, 20
, 30
, null
]
Target risk to filter results:
Identifiers of the scan profiles to filter results, separated by commas.
A search term.
Names of the teams to filter results, as a query string.
For example, "team=Frontend" or "team=Frontend&team=Backend".
If true, filter results by targets with unlimited scans.
If false, filter results by targets that use credits.
- application/json
- application/x-www-form-urlencoded
- multipart/form-data
Body
required
Array [
]
If true, the target has unlimited scans.
If false, scans consume credits.
Learn more about unlimited scans vs scans with credits.
Defaults to true.
Body
required
Array [
]
If true, the target has unlimited scans.
If false, scans consume credits.
Learn more about unlimited scans vs scans with credits.
Defaults to true.
Body
required
Array [
]
If true, the target has unlimited scans.
If false, scans consume credits.
Learn more about unlimited scans vs scans with credits.
Defaults to true.
Responses
- 200
- 400
- 401
- 500
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
site
object
required
Core settings of the target.
Includes basic target information like the name and URL.
A unique Base58 value identifying this object.
Possible values: <= 255 characters
Name of the target or extra host.
The maximum length is 255 characters.
Possible values: <= 2048 characters
URL of the target.
Date and time of the last change, in ISO 8601 UTC format.
For example, "2023-08-09T13:27:43.8208302".
changed_by
object
required
User who last made changes.
A unique Base58 value identifying this object.
Possible values: <= 254 characters
Email of the user.
Possible values: <= 60 characters
Name of the user.
teams
object[]
required
A unique Base58 value identifying this object.
If true, the target has unlimited scans.
If false, scans consume credits.
Learn more about unlimited scans vs scans with credits.
Defaults to true.
[
{
"id": "string",
"site": {
"id": "string",
"name": "string",
"url": "string",
"changed": "2024-07-29T15:51:28.071Z",
"changed_by": {
"id": "string",
"email": "[email protected]",
"name": "string"
}
},
"teams": [
{
"id": "string",
"name": "string"
}
],
"unlimited": true
}
]
- application/json
- Schema
- Example (from schema)
Schema
{
"<field name>": [
"Errors related to field <field name>."
],
"non_field_errors": [
"Errors not related to any field specific field."
]
}
- application/json
- Schema
- Example (from schema)
Schema
{
"detail": "Incorrect authentication credentials."
}
- application/json
- Schema
- Example (from schema)
Schema
{
"detail": "Unexpected error while handling your request."
}