Update a scan or its schedule
curl --request PUT \
--url https://aquila.attaxr.com/api/scans/{id} \
--header 'Content-Type: application/json' \
--cookie better-auth.session_token= \
--data '
{
"name": "<string>"
}
'const options = {
method: 'PUT',
headers: {cookie: 'better-auth.session_token=', 'Content-Type': 'application/json'},
body: JSON.stringify({name: '<string>'})
};
fetch('https://aquila.attaxr.com/api/scans/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://aquila.attaxr.com/api/scans/{id}"
payload = { "name": "<string>" }
headers = {
"cookie": "better-auth.session_token=",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Scans
Update a scan or its schedule
Updates the caller-writable fields of a scan (metadata), or of the schedule behind the id (name, target, scanType, scheduleType, runAt, cron, recurringInterval, intervalDays, workflowSteps). A schedule cadence change re-arms nextRunAt with the new schedule. Engine-owned fields — scan status and lifecycle timestamps, the stored scope and plan, scheduler bookkeeping — are ignored on update.
PUT
/
api
/
scans
/
{id}
Update a scan or its schedule
curl --request PUT \
--url https://aquila.attaxr.com/api/scans/{id} \
--header 'Content-Type: application/json' \
--cookie better-auth.session_token= \
--data '
{
"name": "<string>"
}
'const options = {
method: 'PUT',
headers: {cookie: 'better-auth.session_token=', 'Content-Type': 'application/json'},
body: JSON.stringify({name: '<string>'})
};
fetch('https://aquila.attaxr.com/api/scans/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://aquila.attaxr.com/api/scans/{id}"
payload = { "name": "<string>" }
headers = {
"cookie": "better-auth.session_token=",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Authorizations
apiKeyCookieapiKeyHeaderbearerAuth
Browser session cookie set by Better Auth sign-in.
Path Parameters
Body
application/json
Show child attributes
Show child attributes
Minimum string length:
1Minimum string length:
1Available options:
recon, monitoring, email-digest Available options:
now, once, recurring Show child attributes
Show child attributes
Available options:
daily, weekly, monthly, every_n_days, custom Required range:
x <= 9007199254740991Response
The updated scan or schedule.

