> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vertracloud.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Unlink Database

> Removes a database from the workspace. Owner only. Doesn't delete the database.

Same rules as [Unlink Application](/api-reference/endpoint/workspaces/links/remove-app).

### Path

<ParamField path="id" type="string" required>Workspace ID.</ParamField>
<ParamField path="db_id" type="string" required>Database ID.</ParamField>

### 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.        |
