FlatpageDocs
Sites

Delete a site

Take a site offline and delete it. The link stops working at once.

DELETE
/sites/{site}
AuthorizationBearer <token>

An API key from Settings in the dashboard (fpk_...), or an OAuth access token from the MCP sign-in.

In: header

Path Parameters

sitestring

The site's id, or its link name (the part before .flatpage.page).

Response Body

curl -X DELETE "https://flatpage.app/v1/sites/spring-menu"
Empty
{
  "error": "site not found"
}
{
  "error": "site not found"
}
{
  "error": "site not found"
}
{
  "error": "site not found"
}