Rename network
curl --request PATCH \
--url https://api.sidenet.ai/v1/networks/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Front office",
"description": "<string>"
}
'import requests
url = "https://api.sidenet.ai/v1/networks/{id}"
payload = {
"name": "Front office",
"description": "<string>"
}
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({name: 'Front office', description: '<string>'})
};
fetch('https://api.sidenet.ai/v1/networks/{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.sidenet.ai/v1/networks/{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([
'name' => 'Front office',
'description' => '<string>'
]),
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.sidenet.ai/v1/networks/{id}"
payload := strings.NewReader("{\n \"name\": \"Front office\",\n \"description\": \"<string>\"\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.sidenet.ai/v1/networks/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"Front office\",\n \"description\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sidenet.ai/v1/networks/{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 \"name\": \"Front office\",\n \"description\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"id": 12,
"name": "Guest manager",
"description": "The network guests talk to",
"created_at": "2026-10-01T09:00:00Z",
"copilots": [
{
"id": "a5e91c07-3f24-4b68-9d15-8c72e0b4a396",
"environment": "prod",
"created_at": "2026-10-01T09:05:00Z",
"updated_at": "2026-10-20T12:00:00Z"
},
{
"id": "6f1c0f4e-2b7a-4a51-9a2f-0c9d1b3e5a10",
"environment": "dev",
"created_at": "2026-10-01T09:00:00Z",
"updated_at": "2026-10-24T08:30:00Z"
}
]
}Networks
Rename network
Changes a network’s name and/or description — the identity, shared by its three copilots. The runnable configuration (roster, routing, widget) is per copilot: edit the dev copilot with PATCH /v1/copilots/{id} and promote it with POST /v1/copilots/{id}/deploy.
PATCH
/
v1
/
networks
/
{id}
Rename network
curl --request PATCH \
--url https://api.sidenet.ai/v1/networks/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Front office",
"description": "<string>"
}
'import requests
url = "https://api.sidenet.ai/v1/networks/{id}"
payload = {
"name": "Front office",
"description": "<string>"
}
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({name: 'Front office', description: '<string>'})
};
fetch('https://api.sidenet.ai/v1/networks/{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.sidenet.ai/v1/networks/{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([
'name' => 'Front office',
'description' => '<string>'
]),
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.sidenet.ai/v1/networks/{id}"
payload := strings.NewReader("{\n \"name\": \"Front office\",\n \"description\": \"<string>\"\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.sidenet.ai/v1/networks/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"Front office\",\n \"description\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sidenet.ai/v1/networks/{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 \"name\": \"Front office\",\n \"description\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"id": 12,
"name": "Guest manager",
"description": "The network guests talk to",
"created_at": "2026-10-01T09:00:00Z",
"copilots": [
{
"id": "a5e91c07-3f24-4b68-9d15-8c72e0b4a396",
"environment": "prod",
"created_at": "2026-10-01T09:05:00Z",
"updated_at": "2026-10-20T12:00:00Z"
},
{
"id": "6f1c0f4e-2b7a-4a51-9a2f-0c9d1b3e5a10",
"environment": "dev",
"created_at": "2026-10-01T09:00:00Z",
"updated_at": "2026-10-24T08:30:00Z"
}
]
}Authorizations
Organization API key, generated in studio.sidenet.ai. Backend only — never in a browser.
Path Parameters
Example:
12