v1
latestOpenAPI 3.1.02026-08-06330343826.1 KBSite
Site Scan Schedules
Updates all scan schedules for the specified site in a single request using the array of resources defined in the request body.
put/api/3/sites/{id}/scan_schedules
Path parameters
idinteger required
The identifier of the site.
The identifier of the site.
Request body
Example request
[
{
"assets": {
"excludedAssetGroups": {
"links": [
{
"href": "https://hostname:3780/api/3/...",
"rel": "self"
}
]
},
"excludedTargets": {
"links": [
{
"href": "https://hostname:3780/api/3/...",
"rel": "self"
}
]
},
"includedAssetGroups": {
"links": [
{
"href": "https://hostname:3780/api/3/...",
"rel": "self"
}
]
},
"includedTargets": {
"links": [
{
"href": "https://hostname:3780/api/3/...",
"rel": "self"
}
]
}
},
"links": [
{
"href": "https://hostname:3780/api/3/...",
"rel": "self"
}
],
"repeat": {
"every": "date-of-month",
"interval": 1
},
"start": "2018-03-01T04:31:56Z"
}
]Response
OK