DELETE https://api.usecommune.com/website-pages/{page} Production. There is no separate sandbox host.

Delete a website page

Takes a page off the website and frees the address it answered at. Needs content: write, and is a write.

The document is kept, so deleting the wrong page is recoverable by Commune, but there is no operation here that undoes it: write the page again. The address is available immediately, which is the half worth knowing before you call this, because a pattern that was shadowed by this page starts serving that URL.

A page Commune has taken down cannot be deleted: its address stays reserved while that stands, so that it cannot be re-registered.

Answers the page as it was, so the response is a record of what was removed rather than an empty body.

Publishes no event.

Path parameters

  • string(uuid) Required

Request Headers

  • string Required
  • string
DELETE /website-pages/{page}
Loading...

Share your request

Use this link to easily share a pre-filled request of this operation. Everything you filled will be shared apart from the authentication fields.

Request URL

https://api-reference.usecommune.dev/explorer/operation/operation-deletesitepage

Send a delete request

It looks like you’re about to send a DELETE request to this API. This type of request carries a risk of permanent and irreversible data loss.

Are you sure you want to continue?
Response
Waiting for a request to be sent.