Projects
Update Project
Update a project.
PUT
/
v1
/
projects
/
{id}
Update Project
curl --request PUT \
--url https://api.oviond.com/v1/projects/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"theme_id": "<string>",
"date_range": {
"text": "Last 30 Days",
"compare": "None",
"include_today": false,
"current_start": "2026-03-01",
"current_end": "2026-03-31",
"previous_start": "2026-02-01",
"previous_end": "2026-02-28",
"custom_days": 60,
"custom_months": 3
},
"logo_url": "<string>",
"auto_refresh_enabled": true,
"show_cover_page": true,
"show_cover_page_logo": true,
"show_cover_page_client_logo": true,
"show_cover_page_agency_logo": true,
"show_cover_page_name": true,
"show_cover_page_date": true,
"show_cover_page_bg_image": true,
"show_header": true,
"show_header_logo": true,
"show_header_name": true,
"show_header_date": true,
"show_page_numbers": true,
"show_table_of_contents": true,
"show_date": true,
"show_thank_you": true,
"show_thank_you_bg_image": true,
"show_thank_you_logo": true,
"show_thank_you_client_logo": true,
"show_thank_you_agency_logo": true,
"show_thank_you_heading": true,
"show_thank_you_message": true,
"pages": [
{}
],
"is_active": true,
"editing": true,
"description": "<string>",
"status": "<string>",
"auto_refresh_interval_hours": 24,
"password_enabled": true,
"password": "<string>",
"pdf_enabled": true,
"show_dashboard_navigation": true
}
'import requests
url = "https://api.oviond.com/v1/projects/{id}"
payload = {
"name": "<string>",
"theme_id": "<string>",
"date_range": {
"text": "Last 30 Days",
"compare": "None",
"include_today": False,
"current_start": "2026-03-01",
"current_end": "2026-03-31",
"previous_start": "2026-02-01",
"previous_end": "2026-02-28",
"custom_days": 60,
"custom_months": 3
},
"logo_url": "<string>",
"auto_refresh_enabled": True,
"show_cover_page": True,
"show_cover_page_logo": True,
"show_cover_page_client_logo": True,
"show_cover_page_agency_logo": True,
"show_cover_page_name": True,
"show_cover_page_date": True,
"show_cover_page_bg_image": True,
"show_header": True,
"show_header_logo": True,
"show_header_name": True,
"show_header_date": True,
"show_page_numbers": True,
"show_table_of_contents": True,
"show_date": True,
"show_thank_you": True,
"show_thank_you_bg_image": True,
"show_thank_you_logo": True,
"show_thank_you_client_logo": True,
"show_thank_you_agency_logo": True,
"show_thank_you_heading": True,
"show_thank_you_message": True,
"pages": [{}],
"is_active": True,
"editing": True,
"description": "<string>",
"status": "<string>",
"auto_refresh_interval_hours": 24,
"password_enabled": True,
"password": "<string>",
"pdf_enabled": True,
"show_dashboard_navigation": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
theme_id: '<string>',
date_range: {
text: 'Last 30 Days',
compare: 'None',
include_today: false,
current_start: '2026-03-01',
current_end: '2026-03-31',
previous_start: '2026-02-01',
previous_end: '2026-02-28',
custom_days: 60,
custom_months: 3
},
logo_url: '<string>',
auto_refresh_enabled: true,
show_cover_page: true,
show_cover_page_logo: true,
show_cover_page_client_logo: true,
show_cover_page_agency_logo: true,
show_cover_page_name: true,
show_cover_page_date: true,
show_cover_page_bg_image: true,
show_header: true,
show_header_logo: true,
show_header_name: true,
show_header_date: true,
show_page_numbers: true,
show_table_of_contents: true,
show_date: true,
show_thank_you: true,
show_thank_you_bg_image: true,
show_thank_you_logo: true,
show_thank_you_client_logo: true,
show_thank_you_agency_logo: true,
show_thank_you_heading: true,
show_thank_you_message: true,
pages: [{}],
is_active: true,
editing: true,
description: '<string>',
status: '<string>',
auto_refresh_interval_hours: 24,
password_enabled: true,
password: '<string>',
pdf_enabled: true,
show_dashboard_navigation: true
})
};
fetch('https://api.oviond.com/v1/projects/{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.oviond.com/v1/projects/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'theme_id' => '<string>',
'date_range' => [
'text' => 'Last 30 Days',
'compare' => 'None',
'include_today' => false,
'current_start' => '2026-03-01',
'current_end' => '2026-03-31',
'previous_start' => '2026-02-01',
'previous_end' => '2026-02-28',
'custom_days' => 60,
'custom_months' => 3
],
'logo_url' => '<string>',
'auto_refresh_enabled' => true,
'show_cover_page' => true,
'show_cover_page_logo' => true,
'show_cover_page_client_logo' => true,
'show_cover_page_agency_logo' => true,
'show_cover_page_name' => true,
'show_cover_page_date' => true,
'show_cover_page_bg_image' => true,
'show_header' => true,
'show_header_logo' => true,
'show_header_name' => true,
'show_header_date' => true,
'show_page_numbers' => true,
'show_table_of_contents' => true,
'show_date' => true,
'show_thank_you' => true,
'show_thank_you_bg_image' => true,
'show_thank_you_logo' => true,
'show_thank_you_client_logo' => true,
'show_thank_you_agency_logo' => true,
'show_thank_you_heading' => true,
'show_thank_you_message' => true,
'pages' => [
[
]
],
'is_active' => true,
'editing' => true,
'description' => '<string>',
'status' => '<string>',
'auto_refresh_interval_hours' => 24,
'password_enabled' => true,
'password' => '<string>',
'pdf_enabled' => true,
'show_dashboard_navigation' => true
]),
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.oviond.com/v1/projects/{id}"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"theme_id\": \"<string>\",\n \"date_range\": {\n \"text\": \"Last 30 Days\",\n \"compare\": \"None\",\n \"include_today\": false,\n \"current_start\": \"2026-03-01\",\n \"current_end\": \"2026-03-31\",\n \"previous_start\": \"2026-02-01\",\n \"previous_end\": \"2026-02-28\",\n \"custom_days\": 60,\n \"custom_months\": 3\n },\n \"logo_url\": \"<string>\",\n \"auto_refresh_enabled\": true,\n \"show_cover_page\": true,\n \"show_cover_page_logo\": true,\n \"show_cover_page_client_logo\": true,\n \"show_cover_page_agency_logo\": true,\n \"show_cover_page_name\": true,\n \"show_cover_page_date\": true,\n \"show_cover_page_bg_image\": true,\n \"show_header\": true,\n \"show_header_logo\": true,\n \"show_header_name\": true,\n \"show_header_date\": true,\n \"show_page_numbers\": true,\n \"show_table_of_contents\": true,\n \"show_date\": true,\n \"show_thank_you\": true,\n \"show_thank_you_bg_image\": true,\n \"show_thank_you_logo\": true,\n \"show_thank_you_client_logo\": true,\n \"show_thank_you_agency_logo\": true,\n \"show_thank_you_heading\": true,\n \"show_thank_you_message\": true,\n \"pages\": [\n {}\n ],\n \"is_active\": true,\n \"editing\": true,\n \"description\": \"<string>\",\n \"status\": \"<string>\",\n \"auto_refresh_interval_hours\": 24,\n \"password_enabled\": true,\n \"password\": \"<string>\",\n \"pdf_enabled\": true,\n \"show_dashboard_navigation\": true\n}")
req, _ := http.NewRequest("PUT", 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.put("https://api.oviond.com/v1/projects/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"theme_id\": \"<string>\",\n \"date_range\": {\n \"text\": \"Last 30 Days\",\n \"compare\": \"None\",\n \"include_today\": false,\n \"current_start\": \"2026-03-01\",\n \"current_end\": \"2026-03-31\",\n \"previous_start\": \"2026-02-01\",\n \"previous_end\": \"2026-02-28\",\n \"custom_days\": 60,\n \"custom_months\": 3\n },\n \"logo_url\": \"<string>\",\n \"auto_refresh_enabled\": true,\n \"show_cover_page\": true,\n \"show_cover_page_logo\": true,\n \"show_cover_page_client_logo\": true,\n \"show_cover_page_agency_logo\": true,\n \"show_cover_page_name\": true,\n \"show_cover_page_date\": true,\n \"show_cover_page_bg_image\": true,\n \"show_header\": true,\n \"show_header_logo\": true,\n \"show_header_name\": true,\n \"show_header_date\": true,\n \"show_page_numbers\": true,\n \"show_table_of_contents\": true,\n \"show_date\": true,\n \"show_thank_you\": true,\n \"show_thank_you_bg_image\": true,\n \"show_thank_you_logo\": true,\n \"show_thank_you_client_logo\": true,\n \"show_thank_you_agency_logo\": true,\n \"show_thank_you_heading\": true,\n \"show_thank_you_message\": true,\n \"pages\": [\n {}\n ],\n \"is_active\": true,\n \"editing\": true,\n \"description\": \"<string>\",\n \"status\": \"<string>\",\n \"auto_refresh_interval_hours\": 24,\n \"password_enabled\": true,\n \"password\": \"<string>\",\n \"pdf_enabled\": true,\n \"show_dashboard_navigation\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.oviond.com/v1/projects/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"theme_id\": \"<string>\",\n \"date_range\": {\n \"text\": \"Last 30 Days\",\n \"compare\": \"None\",\n \"include_today\": false,\n \"current_start\": \"2026-03-01\",\n \"current_end\": \"2026-03-31\",\n \"previous_start\": \"2026-02-01\",\n \"previous_end\": \"2026-02-28\",\n \"custom_days\": 60,\n \"custom_months\": 3\n },\n \"logo_url\": \"<string>\",\n \"auto_refresh_enabled\": true,\n \"show_cover_page\": true,\n \"show_cover_page_logo\": true,\n \"show_cover_page_client_logo\": true,\n \"show_cover_page_agency_logo\": true,\n \"show_cover_page_name\": true,\n \"show_cover_page_date\": true,\n \"show_cover_page_bg_image\": true,\n \"show_header\": true,\n \"show_header_logo\": true,\n \"show_header_name\": true,\n \"show_header_date\": true,\n \"show_page_numbers\": true,\n \"show_table_of_contents\": true,\n \"show_date\": true,\n \"show_thank_you\": true,\n \"show_thank_you_bg_image\": true,\n \"show_thank_you_logo\": true,\n \"show_thank_you_client_logo\": true,\n \"show_thank_you_agency_logo\": true,\n \"show_thank_you_heading\": true,\n \"show_thank_you_message\": true,\n \"pages\": [\n {}\n ],\n \"is_active\": true,\n \"editing\": true,\n \"description\": \"<string>\",\n \"status\": \"<string>\",\n \"auto_refresh_interval_hours\": 24,\n \"password_enabled\": true,\n \"password\": \"<string>\",\n \"pdf_enabled\": true,\n \"show_dashboard_navigation\": true\n}"
response = http.request(request)
puts response.read_body{
"success": true
}{
"error": "<string>"
}Authorizations
ApiKeyAuthBearerAuth
Oviond API key (prefix oviond_) sent as a Bearer token — the credential for REST/programmatic and headless integrations. Manage keys in Settings → API Keys. API keys do NOT authenticate the MCP endpoint (/mcp), which uses OAuth 2.1 + PKCE.
Path Parameters
Body
application/json
Show child attributes
Show child attributes
Available options:
portrait, landscape Show child attributes
Show child attributes
Auto-refresh cadence: 1 = hourly, 24 = daily
Available options:
1 Example:
24
Available options:
a4, letter Available options:
inherit, client, agency Response
Project updated
Available options:
true ⌘I
Update Project
curl --request PUT \
--url https://api.oviond.com/v1/projects/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"theme_id": "<string>",
"date_range": {
"text": "Last 30 Days",
"compare": "None",
"include_today": false,
"current_start": "2026-03-01",
"current_end": "2026-03-31",
"previous_start": "2026-02-01",
"previous_end": "2026-02-28",
"custom_days": 60,
"custom_months": 3
},
"logo_url": "<string>",
"auto_refresh_enabled": true,
"show_cover_page": true,
"show_cover_page_logo": true,
"show_cover_page_client_logo": true,
"show_cover_page_agency_logo": true,
"show_cover_page_name": true,
"show_cover_page_date": true,
"show_cover_page_bg_image": true,
"show_header": true,
"show_header_logo": true,
"show_header_name": true,
"show_header_date": true,
"show_page_numbers": true,
"show_table_of_contents": true,
"show_date": true,
"show_thank_you": true,
"show_thank_you_bg_image": true,
"show_thank_you_logo": true,
"show_thank_you_client_logo": true,
"show_thank_you_agency_logo": true,
"show_thank_you_heading": true,
"show_thank_you_message": true,
"pages": [
{}
],
"is_active": true,
"editing": true,
"description": "<string>",
"status": "<string>",
"auto_refresh_interval_hours": 24,
"password_enabled": true,
"password": "<string>",
"pdf_enabled": true,
"show_dashboard_navigation": true
}
'import requests
url = "https://api.oviond.com/v1/projects/{id}"
payload = {
"name": "<string>",
"theme_id": "<string>",
"date_range": {
"text": "Last 30 Days",
"compare": "None",
"include_today": False,
"current_start": "2026-03-01",
"current_end": "2026-03-31",
"previous_start": "2026-02-01",
"previous_end": "2026-02-28",
"custom_days": 60,
"custom_months": 3
},
"logo_url": "<string>",
"auto_refresh_enabled": True,
"show_cover_page": True,
"show_cover_page_logo": True,
"show_cover_page_client_logo": True,
"show_cover_page_agency_logo": True,
"show_cover_page_name": True,
"show_cover_page_date": True,
"show_cover_page_bg_image": True,
"show_header": True,
"show_header_logo": True,
"show_header_name": True,
"show_header_date": True,
"show_page_numbers": True,
"show_table_of_contents": True,
"show_date": True,
"show_thank_you": True,
"show_thank_you_bg_image": True,
"show_thank_you_logo": True,
"show_thank_you_client_logo": True,
"show_thank_you_agency_logo": True,
"show_thank_you_heading": True,
"show_thank_you_message": True,
"pages": [{}],
"is_active": True,
"editing": True,
"description": "<string>",
"status": "<string>",
"auto_refresh_interval_hours": 24,
"password_enabled": True,
"password": "<string>",
"pdf_enabled": True,
"show_dashboard_navigation": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
theme_id: '<string>',
date_range: {
text: 'Last 30 Days',
compare: 'None',
include_today: false,
current_start: '2026-03-01',
current_end: '2026-03-31',
previous_start: '2026-02-01',
previous_end: '2026-02-28',
custom_days: 60,
custom_months: 3
},
logo_url: '<string>',
auto_refresh_enabled: true,
show_cover_page: true,
show_cover_page_logo: true,
show_cover_page_client_logo: true,
show_cover_page_agency_logo: true,
show_cover_page_name: true,
show_cover_page_date: true,
show_cover_page_bg_image: true,
show_header: true,
show_header_logo: true,
show_header_name: true,
show_header_date: true,
show_page_numbers: true,
show_table_of_contents: true,
show_date: true,
show_thank_you: true,
show_thank_you_bg_image: true,
show_thank_you_logo: true,
show_thank_you_client_logo: true,
show_thank_you_agency_logo: true,
show_thank_you_heading: true,
show_thank_you_message: true,
pages: [{}],
is_active: true,
editing: true,
description: '<string>',
status: '<string>',
auto_refresh_interval_hours: 24,
password_enabled: true,
password: '<string>',
pdf_enabled: true,
show_dashboard_navigation: true
})
};
fetch('https://api.oviond.com/v1/projects/{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.oviond.com/v1/projects/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'theme_id' => '<string>',
'date_range' => [
'text' => 'Last 30 Days',
'compare' => 'None',
'include_today' => false,
'current_start' => '2026-03-01',
'current_end' => '2026-03-31',
'previous_start' => '2026-02-01',
'previous_end' => '2026-02-28',
'custom_days' => 60,
'custom_months' => 3
],
'logo_url' => '<string>',
'auto_refresh_enabled' => true,
'show_cover_page' => true,
'show_cover_page_logo' => true,
'show_cover_page_client_logo' => true,
'show_cover_page_agency_logo' => true,
'show_cover_page_name' => true,
'show_cover_page_date' => true,
'show_cover_page_bg_image' => true,
'show_header' => true,
'show_header_logo' => true,
'show_header_name' => true,
'show_header_date' => true,
'show_page_numbers' => true,
'show_table_of_contents' => true,
'show_date' => true,
'show_thank_you' => true,
'show_thank_you_bg_image' => true,
'show_thank_you_logo' => true,
'show_thank_you_client_logo' => true,
'show_thank_you_agency_logo' => true,
'show_thank_you_heading' => true,
'show_thank_you_message' => true,
'pages' => [
[
]
],
'is_active' => true,
'editing' => true,
'description' => '<string>',
'status' => '<string>',
'auto_refresh_interval_hours' => 24,
'password_enabled' => true,
'password' => '<string>',
'pdf_enabled' => true,
'show_dashboard_navigation' => true
]),
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.oviond.com/v1/projects/{id}"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"theme_id\": \"<string>\",\n \"date_range\": {\n \"text\": \"Last 30 Days\",\n \"compare\": \"None\",\n \"include_today\": false,\n \"current_start\": \"2026-03-01\",\n \"current_end\": \"2026-03-31\",\n \"previous_start\": \"2026-02-01\",\n \"previous_end\": \"2026-02-28\",\n \"custom_days\": 60,\n \"custom_months\": 3\n },\n \"logo_url\": \"<string>\",\n \"auto_refresh_enabled\": true,\n \"show_cover_page\": true,\n \"show_cover_page_logo\": true,\n \"show_cover_page_client_logo\": true,\n \"show_cover_page_agency_logo\": true,\n \"show_cover_page_name\": true,\n \"show_cover_page_date\": true,\n \"show_cover_page_bg_image\": true,\n \"show_header\": true,\n \"show_header_logo\": true,\n \"show_header_name\": true,\n \"show_header_date\": true,\n \"show_page_numbers\": true,\n \"show_table_of_contents\": true,\n \"show_date\": true,\n \"show_thank_you\": true,\n \"show_thank_you_bg_image\": true,\n \"show_thank_you_logo\": true,\n \"show_thank_you_client_logo\": true,\n \"show_thank_you_agency_logo\": true,\n \"show_thank_you_heading\": true,\n \"show_thank_you_message\": true,\n \"pages\": [\n {}\n ],\n \"is_active\": true,\n \"editing\": true,\n \"description\": \"<string>\",\n \"status\": \"<string>\",\n \"auto_refresh_interval_hours\": 24,\n \"password_enabled\": true,\n \"password\": \"<string>\",\n \"pdf_enabled\": true,\n \"show_dashboard_navigation\": true\n}")
req, _ := http.NewRequest("PUT", 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.put("https://api.oviond.com/v1/projects/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"theme_id\": \"<string>\",\n \"date_range\": {\n \"text\": \"Last 30 Days\",\n \"compare\": \"None\",\n \"include_today\": false,\n \"current_start\": \"2026-03-01\",\n \"current_end\": \"2026-03-31\",\n \"previous_start\": \"2026-02-01\",\n \"previous_end\": \"2026-02-28\",\n \"custom_days\": 60,\n \"custom_months\": 3\n },\n \"logo_url\": \"<string>\",\n \"auto_refresh_enabled\": true,\n \"show_cover_page\": true,\n \"show_cover_page_logo\": true,\n \"show_cover_page_client_logo\": true,\n \"show_cover_page_agency_logo\": true,\n \"show_cover_page_name\": true,\n \"show_cover_page_date\": true,\n \"show_cover_page_bg_image\": true,\n \"show_header\": true,\n \"show_header_logo\": true,\n \"show_header_name\": true,\n \"show_header_date\": true,\n \"show_page_numbers\": true,\n \"show_table_of_contents\": true,\n \"show_date\": true,\n \"show_thank_you\": true,\n \"show_thank_you_bg_image\": true,\n \"show_thank_you_logo\": true,\n \"show_thank_you_client_logo\": true,\n \"show_thank_you_agency_logo\": true,\n \"show_thank_you_heading\": true,\n \"show_thank_you_message\": true,\n \"pages\": [\n {}\n ],\n \"is_active\": true,\n \"editing\": true,\n \"description\": \"<string>\",\n \"status\": \"<string>\",\n \"auto_refresh_interval_hours\": 24,\n \"password_enabled\": true,\n \"password\": \"<string>\",\n \"pdf_enabled\": true,\n \"show_dashboard_navigation\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.oviond.com/v1/projects/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"theme_id\": \"<string>\",\n \"date_range\": {\n \"text\": \"Last 30 Days\",\n \"compare\": \"None\",\n \"include_today\": false,\n \"current_start\": \"2026-03-01\",\n \"current_end\": \"2026-03-31\",\n \"previous_start\": \"2026-02-01\",\n \"previous_end\": \"2026-02-28\",\n \"custom_days\": 60,\n \"custom_months\": 3\n },\n \"logo_url\": \"<string>\",\n \"auto_refresh_enabled\": true,\n \"show_cover_page\": true,\n \"show_cover_page_logo\": true,\n \"show_cover_page_client_logo\": true,\n \"show_cover_page_agency_logo\": true,\n \"show_cover_page_name\": true,\n \"show_cover_page_date\": true,\n \"show_cover_page_bg_image\": true,\n \"show_header\": true,\n \"show_header_logo\": true,\n \"show_header_name\": true,\n \"show_header_date\": true,\n \"show_page_numbers\": true,\n \"show_table_of_contents\": true,\n \"show_date\": true,\n \"show_thank_you\": true,\n \"show_thank_you_bg_image\": true,\n \"show_thank_you_logo\": true,\n \"show_thank_you_client_logo\": true,\n \"show_thank_you_agency_logo\": true,\n \"show_thank_you_heading\": true,\n \"show_thank_you_message\": true,\n \"pages\": [\n {}\n ],\n \"is_active\": true,\n \"editing\": true,\n \"description\": \"<string>\",\n \"status\": \"<string>\",\n \"auto_refresh_interval_hours\": 24,\n \"password_enabled\": true,\n \"password\": \"<string>\",\n \"pdf_enabled\": true,\n \"show_dashboard_navigation\": true\n}"
response = http.request(request)
puts response.read_body{
"success": true
}{
"error": "<string>"
}