Page Management

Delete a page

Permanently deletes a page. If the page was published, also removes the HTML file from storage and purges the cache.

delete/v1/workspace/website/{website_id}/pages/{page_id}

Request

  • Base URL: https://api.lindo.ai
  • URL: https://api.lindo.ai/v1/workspace/website/{website_id}/pages/{page_id}
  • Auth: HTTP bearer

Path parameters

website_idstring required

Unique identifier of the website

Example:ws_abc123
page_idstring required

Unique identifier of the page

Example:page_abc123

Response

Page deleted successfully

successtrue required

Indicates the operation was successful

Example response

{
  "success": true,
  "result": {
    "message": "Page deleted successfully",
    "page_id": "page_abc123",
    "warnings": [
      "R2 file removal failed: File not found"
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.