Update Folder
curl --request PUT \
--url https://management.scanova.io/folder/{id}/ \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Marketing QRs"
}
'import requests
url = "https://management.scanova.io/folder/{id}/"
payload = { "name": "Marketing QRs" }
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({name: 'Marketing QRs'})
};
fetch('https://management.scanova.io/folder/{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://management.scanova.io/folder/{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' => 'Marketing QRs'
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"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://management.scanova.io/folder/{id}/"
payload := strings.NewReader("{\n \"name\": \"Marketing QRs\"\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "<api-key>")
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://management.scanova.io/folder/{id}/")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"Marketing QRs\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://management.scanova.io/folder/{id}/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"Marketing QRs\"\n}"
response = http.request(request)
puts response.read_body{
"id": 7,
"name": "Marketing QRs",
"created_by": 422,
"folder_type": "qr",
"qr_codes_count": 0,
"created": "2026-03-16T17:57:16.662333+05:30",
"updated": "2026-03-16T17:57:16.662362+05:30"
}{
"detail": "Invalid token."
}{
"detail": "Not found."
}Folder Management
Update Folder
Renames a folder. Requires authentication.
PUT
/
folder
/
{id}
/
Update Folder
curl --request PUT \
--url https://management.scanova.io/folder/{id}/ \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Marketing QRs"
}
'import requests
url = "https://management.scanova.io/folder/{id}/"
payload = { "name": "Marketing QRs" }
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({name: 'Marketing QRs'})
};
fetch('https://management.scanova.io/folder/{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://management.scanova.io/folder/{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' => 'Marketing QRs'
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"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://management.scanova.io/folder/{id}/"
payload := strings.NewReader("{\n \"name\": \"Marketing QRs\"\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "<api-key>")
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://management.scanova.io/folder/{id}/")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"Marketing QRs\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://management.scanova.io/folder/{id}/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"Marketing QRs\"\n}"
response = http.request(request)
puts response.read_body{
"id": 7,
"name": "Marketing QRs",
"created_by": 422,
"folder_type": "qr",
"qr_codes_count": 0,
"created": "2026-03-16T17:57:16.662333+05:30",
"updated": "2026-03-16T17:57:16.662362+05:30"
}{
"detail": "Invalid token."
}{
"detail": "Not found."
}Overview
Renames an existing folder.Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | Folder ID. |
Request Body
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
name | string | Yes | New folder name. | Marketing QRs |
Example Request
{
"name": "Marketing QRs"
}
Example Response
✅ 200 OK
{
"id": 8,
"name": "Marketing QRs",
"created_by": 422,
"folder_type": "qr",
"qr_codes_count": 0,
"created": "2026-03-16T17:57:16.662333+05:30",
"updated": "2026-03-16T17:57:16.662362+05:30"
}
Use Cases
- Renaming: Update folder names to reflect new campaigns
- Cleanup: Standardize naming conventions across folders
Authorizations
API key authentication. Enter your API key directly in the Authorization header.
Path Parameters
Folder ID
Body
application/json
Folder name
Example:
"Marketing QRs"
Response
Folder updated successfully
Folder ID
Example:
7
Folder name
Example:
"Marketing QRs"
User ID who created the folder
Example:
422
Folder type
Example:
"qr"
Number of QR codes in the folder
Example:
0
Creation timestamp
Example:
"2026-03-16T17:57:16.662333+05:30"
Last update timestamp
Example:
"2026-03-16T17:57:16.662362+05:30"
Was this page helpful?
⌘I