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