Apps & Databases
Unlink Database
Removes a database from the workspace. Owner only. Doesn’t delete the database.
DELETE
/
v1
/
workspaces
/
{id}
/
databases
/
{db_id}
Unlink Database
curl --request DELETE \
--url https://api.vertracloud.app/v1/workspaces/{id}/databases/{db_id} \
--header 'Authorization: Bearer <token>'const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.vertracloud.app/v1/workspaces/{id}/databases/{db_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.vertracloud.app/v1/workspaces/{id}/databases/{db_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.vertracloud.app/v1/workspaces/{id}/databases/{db_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))
}Same rules as Unlink Application.
Path
string
required
Workspace ID.
string
required
Database ID.
Response
Empty response on success.Errors
| Status | Code | When |
|---|---|---|
| 403 | WORKSPACE_OWNER_ONLY | Caller isn’t the workspace owner. |
| 404 | WORKSPACE_NOT_FOUND | Workspace doesn’t exist or you’re not a member. |
| 404 | DATABASE_NOT_FOUND | Database isn’t linked to this workspace. |
Last modified on September 25, 2026
⌘I
Unlink Database
curl --request DELETE \
--url https://api.vertracloud.app/v1/workspaces/{id}/databases/{db_id} \
--header 'Authorization: Bearer <token>'const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.vertracloud.app/v1/workspaces/{id}/databases/{db_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.vertracloud.app/v1/workspaces/{id}/databases/{db_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.vertracloud.app/v1/workspaces/{id}/databases/{db_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))
}