Update Scanning Agent
PUT/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
required
Array [
]
name stringrequired
Possible values: <= 255 characters
teams
object[]
nullable
id string
A unique Base58 value identifying this object.
Body
required
Array [
]
name stringrequired
Possible values: <= 255 characters
teams
object[]
nullable
id string
A unique Base58 value identifying this object.
Body
required
Array [
]
name stringrequired
Possible values: <= 255 characters
teams
object[]
nullable
id string
A unique Base58 value identifying this object.
Responses
- 200
- 400
- 401
- 404
- 500
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
id stringrequired
name stringrequired
Possible values: <= 255 characters
installer_generated booleanrequired
teams
object[]
nullable
id string
A unique Base58 value identifying this object.
name stringrequired
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."
}
Loading...