Pause or resume a schedule
curl --request PATCH \
--url https://aquila.attaxr.com/api/scans/{id}/toggle \
--cookie better-auth.session_token=const options = {method: 'PATCH', headers: {cookie: 'better-auth.session_token='}};
fetch('https://aquila.attaxr.com/api/scans/{id}/toggle', 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}/toggle"
headers = {"cookie": "better-auth.session_token="}
response = requests.patch(url, headers=headers)
print(response.text){
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Scans
Pause or resume a schedule
Enables or disables the recurring schedule behind a scan. A resumed schedule gets a fresh next-run time.
PATCH
/
api
/
scans
/
{id}
/
toggle
Pause or resume a schedule
curl --request PATCH \
--url https://aquila.attaxr.com/api/scans/{id}/toggle \
--cookie better-auth.session_token=const options = {method: 'PATCH', headers: {cookie: 'better-auth.session_token='}};
fetch('https://aquila.attaxr.com/api/scans/{id}/toggle', 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}/toggle"
headers = {"cookie": "better-auth.session_token="}
response = requests.patch(url, headers=headers)
print(response.text){
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}
