Reset Bucket Config (Legacy)
curl --request DELETE \
--url https://api.tornadoapi.io/user/bucket \
--header 'x-api-key: <x-api-key>'import requests
url = "https://api.tornadoapi.io/user/bucket"
headers = {"x-api-key": "<x-api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {'x-api-key': '<x-api-key>'}};
fetch('https://api.tornadoapi.io/user/bucket', 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.tornadoapi.io/user/bucket",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_HTTPHEADER => [
"x-api-key: <x-api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.tornadoapi.io/user/bucket"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("x-api-key", "<x-api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://api.tornadoapi.io/user/bucket")
.header("x-api-key", "<x-api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tornadoapi.io/user/bucket")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
request["x-api-key"] = '<x-api-key>'
response = http.request(request)
puts response.read_body{
"message": "Bucket configuration reset to default"
}
User
Reset Bucket Config (Legacy)
Reset to Tornado default storage (deprecated)
DELETE
/
user
/
bucket
Reset Bucket Config (Legacy)
curl --request DELETE \
--url https://api.tornadoapi.io/user/bucket \
--header 'x-api-key: <x-api-key>'import requests
url = "https://api.tornadoapi.io/user/bucket"
headers = {"x-api-key": "<x-api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {'x-api-key': '<x-api-key>'}};
fetch('https://api.tornadoapi.io/user/bucket', 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.tornadoapi.io/user/bucket",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_HTTPHEADER => [
"x-api-key: <x-api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.tornadoapi.io/user/bucket"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("x-api-key", "<x-api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://api.tornadoapi.io/user/bucket")
.header("x-api-key", "<x-api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tornadoapi.io/user/bucket")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
request["x-api-key"] = '<x-api-key>'
response = http.request(request)
puts response.read_body{
"message": "Bucket configuration reset to default"
}
Deprecated: This endpoint only supports S3-compatible storage. Use the dedicated endpoints instead:
DELETE /user/s3for S3-compatible storageDELETE /user/blobfor Azure Blob StorageDELETE /user/gcsfor Google Cloud StorageDELETE /user/ossfor Alibaba Cloud OSS
Overview
Remove the legacy embedded S3 configuration for this API key. This route does not remove modern/user/s3 configurations, other providers or organization-level defaults.
Header Parameters
string
required
Your API key for authentication
Request
No request body required. Simply send a DELETE request with your API key.Response
string
Success confirmation message
Example
curl -X DELETE "https://api.tornadoapi.io/user/bucket" \
-H "x-api-key: sk_your_api_key"
const response = await fetch('https://api.tornadoapi.io/user/bucket', {
method: 'DELETE',
headers: {
'x-api-key': 'sk_your_api_key'
}
});
const data = await response.json();
console.log(data);
import requests
response = requests.delete(
'https://api.tornadoapi.io/user/bucket',
headers={'x-api-key': 'sk_your_api_key'}
)
print(response.json())
{
"message": "Bucket configuration reset to default"
}
Success Response
{
"message": "Bucket configuration reset to default"
}
Error Responses
{
"error": "Missing x-api-key header"
}
{
"error": "Invalid API Key"
}
When to Use
- You want to stop using your own S3 bucket
- Your bucket credentials have changed and you want to reconfigure
- You’re troubleshooting storage issues
After resetting, new jobs still follow any remaining saved, organization-level or inline destination. Existing objects are not deleted. Removing credentials can affect jobs or link refreshes that depended on the legacy configuration.
Was this page helpful?