Delete workspace
curl --request DELETE \
--url https://api.rendermate.com/v1/workspaces/{workspace_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.rendermate.com/v1/workspaces/{workspace_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.rendermate.com/v1/workspaces/{workspace_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.rendermate.com/v1/workspaces/{workspace_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.rendermate.com/v1/workspaces/{workspace_id}"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.rendermate.com/v1/workspaces/{workspace_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rendermate.com/v1/workspaces/{workspace_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"created_at": "2026-12-03T10:15:00Z",
"id": "ws_use_0193f2a1b7c84e6d9a2f5b8c1d4e7f30",
"key_prefix": "sk_",
"name": "Marketing",
"organization_id": "org_01JF3PZ6W8M2Q4T7V9X1B3D5F7",
"purge_at": "2026-12-10T10:15:00Z",
"rate_limit_per_minute": 600,
"region": "us-east",
"status": "deleting"
}Workspaces
Delete workspace
Delete a workspace. At once nothing can act in it, its links stop playing and its storage stops billing; 7 days later (its purge_at) everything in it is deleted for good: documents, assets, links, exports, keys and domains. Until then restore_workspace brings it back. Needs an organization key or an organization admin; the organization’s last workspace can’t be deleted.
MCP tool: delete_workspace.
DELETE
/
v1
/
workspaces
/
{workspace_id}
Delete workspace
curl --request DELETE \
--url https://api.rendermate.com/v1/workspaces/{workspace_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.rendermate.com/v1/workspaces/{workspace_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.rendermate.com/v1/workspaces/{workspace_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.rendermate.com/v1/workspaces/{workspace_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.rendermate.com/v1/workspaces/{workspace_id}"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.rendermate.com/v1/workspaces/{workspace_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rendermate.com/v1/workspaces/{workspace_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"created_at": "2026-12-03T10:15:00Z",
"id": "ws_use_0193f2a1b7c84e6d9a2f5b8c1d4e7f30",
"key_prefix": "sk_",
"name": "Marketing",
"organization_id": "org_01JF3PZ6W8M2Q4T7V9X1B3D5F7",
"purge_at": "2026-12-10T10:15:00Z",
"rate_limit_per_minute": 600,
"region": "us-east",
"status": "deleting"
}Authorizations
Response
OK