Partial Update Scanning Agent
PATCHhttps://api.probely.com/scanning-agents/:id/
Request
Path Parameters
id stringrequired
A unique value identifying this scanning agent.
- application/json
- application/x-www-form-urlencoded
- multipart/form-data
Body
name string
Possible values: <= 255 characters
teams
object[]
nullable
Body
name string
Possible values: <= 255 characters
teams
object[]
nullable
Body
name string
Possible values: <= 255 characters
teams
object[]
nullable
Responses
- 200
- 400
- 401
- 404
- 500
- application/json
- Schema
- Example (from schema)
Schema
id stringrequired
name stringrequired
Possible values: <= 255 characters
installer_generated booleanrequired
teams
object[]
nullable
online booleanrequired
fallback booleanrequired
rx_bytes integerrequired
tx_bytes integerrequired
latest_handshake integerrequired
{
"id": "string",
"name": "string",
"installer_generated": true,
"teams": [
{
"id": "string",
"name": "string"
}
],
"online": true,
"fallback": true,
"rx_bytes": 0,
"tx_bytes": 0,
"latest_handshake": 0
}
- application/json
- Schema
- Example (from schema)
Schema
<field name> string[]
non_field_errors string[]
{
"<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 string
{
"detail": "Incorrect authentication credentials."
}
- application/json
- Schema
- Example (from schema)
Schema
detail string
{
"detail": "Not found."
}
- application/json
- Schema
- Example (from schema)
Schema
detail string
{
"detail": "Unexpected error while handling your request."
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X PATCH 'https://api.probely.com/scanning-agents/:id/' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: JWT <YOUR_API_TOKEN>' \
-d '{
"name": "string",
"teams": [
{
"id": "string"
}
]
}'
ResponseClear