Bulk Update Targets with Unlimited Scans
PUThttps://api.probely.com/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".
Identifiers of targets to filter results. Multiple choices are possible by repeating the query_param.
Target label IDs to filter results, as a query string.
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 [
]
site
object
required
teams
object[]
required
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": "user@example.com",
"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."
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X PUT 'https://api.probely.com/account/unlimited/' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: JWT <YOUR_API_TOKEN>' \
-d '[
{
"id": "string",
"unlimited": true
}
]'