Update a scheduled analytics report
curl --request PATCH \
--url https://api.orbit.devotel.io/api/v1/analytics/scheduled-reports/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"frequency": "monthly",
"enabled": false
}
'import requests
url = "https://api.orbit.devotel.io/api/v1/analytics/scheduled-reports/{id}"
payload = {
"frequency": "monthly",
"enabled": False
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({frequency: 'monthly', enabled: false})
};
fetch('https://api.orbit.devotel.io/api/v1/analytics/scheduled-reports/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.orbit.devotel.io/api/v1/analytics/scheduled-reports/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'frequency' => 'monthly',
'enabled' => false
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.orbit.devotel.io/api/v1/analytics/scheduled-reports/{id}"
payload := strings.NewReader("{\n \"frequency\": \"monthly\",\n \"enabled\": false\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.orbit.devotel.io/api/v1/analytics/scheduled-reports/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"frequency\": \"monthly\",\n \"enabled\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orbit.devotel.io/api/v1/analytics/scheduled-reports/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"frequency\": \"monthly\",\n \"enabled\": false\n}"
response = http.request(request)
puts response.read_body{
"data": {
"id": "rpt_7c1f0a",
"organization_id": "org_42",
"name": "Weekly deliverability",
"type": "deliverability",
"frequency": "weekly",
"recipients": [
"ops@acme.com"
],
"filters": null,
"enabled": true,
"timezone": "America/New_York",
"last_sent_at": "2026-07-26T13:00:00.000Z",
"next_send_at": "2026-08-02T13:00:00.000Z",
"created_by": "usr_9",
"created_at": "2026-06-01T10:00:00.000Z",
"updated_at": "2026-07-26T13:00:00.000Z"
},
"meta": {
"request_id": "req_9f2c1a7b",
"timestamp": "2026-08-02T12:00:00.000Z"
}
}Analytics
Update a scheduled analytics report
Updates one or more fields of an existing scheduled report — its name, type, frequency, recipients, filters, enabled flag or timezone. At least one field must be provided; the cadence’s next_send_at is recomputed when the frequency or timezone changes. Requires an owner, admin or developer role and that the report belongs to the caller’s organization.
PATCH
/
api
/
v1
/
analytics
/
scheduled-reports
/
{id}
Update a scheduled analytics report
curl --request PATCH \
--url https://api.orbit.devotel.io/api/v1/analytics/scheduled-reports/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"frequency": "monthly",
"enabled": false
}
'import requests
url = "https://api.orbit.devotel.io/api/v1/analytics/scheduled-reports/{id}"
payload = {
"frequency": "monthly",
"enabled": False
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({frequency: 'monthly', enabled: false})
};
fetch('https://api.orbit.devotel.io/api/v1/analytics/scheduled-reports/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.orbit.devotel.io/api/v1/analytics/scheduled-reports/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'frequency' => 'monthly',
'enabled' => false
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.orbit.devotel.io/api/v1/analytics/scheduled-reports/{id}"
payload := strings.NewReader("{\n \"frequency\": \"monthly\",\n \"enabled\": false\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.orbit.devotel.io/api/v1/analytics/scheduled-reports/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"frequency\": \"monthly\",\n \"enabled\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orbit.devotel.io/api/v1/analytics/scheduled-reports/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"frequency\": \"monthly\",\n \"enabled\": false\n}"
response = http.request(request)
puts response.read_body{
"data": {
"id": "rpt_7c1f0a",
"organization_id": "org_42",
"name": "Weekly deliverability",
"type": "deliverability",
"frequency": "weekly",
"recipients": [
"ops@acme.com"
],
"filters": null,
"enabled": true,
"timezone": "America/New_York",
"last_sent_at": "2026-07-26T13:00:00.000Z",
"next_send_at": "2026-08-02T13:00:00.000Z",
"created_by": "usr_9",
"created_at": "2026-06-01T10:00:00.000Z",
"updated_at": "2026-07-26T13:00:00.000Z"
},
"meta": {
"request_id": "req_9f2c1a7b",
"timestamp": "2026-08-02T12:00:00.000Z"
}
}Authorizations
BearerApiKey
Dashboard JWT token from Clerk
Path Parameters
Scheduled-report id to update.
Body
application/json
⌘I