---
search:
  tags:
    - sites
    - DELETE
seo:
  description: >-
    Unlinks the site from its database: its sandboxes may no longer connect to…
    Reference for the DELETE /v1/sites/{site}/database endpoint in the pols.so
    API.
sidebar:
  label: Unlink a site from its database
  badge: DELETE
title: Unlink a site from its database
type: openapi-operation
---
Unlinks the site from its database: its sandboxes may no longer
connect to it, at once, and its next deploy gets no connection URL.
The database and its data stay. A stopped earlier version of the
app still holds the password: rotate it (`POST
/v1/databases/{database}/password`) if that matters.

`DELETE /v1/sites/{site}/database`
