cURL
curl --request POST \ --url https://apidev.lindo.ai/v1/workspace/website/{website_id}/pages/{page_id}/unpublish \ --header 'Authorization: Bearer <token>'
{ "success": true, "result": { "message": "Page unpublished successfully", "page_id": "page_abc123", "warnings": [ "R2 file removal failed: File not found" ] } }
Unpublishes a page by clearing the publish_date, removing it from public access.
Enter your API key (starts with lindo_sk_)
Unique identifier of the website
"ws_abc123"
Unique identifier of the page
"page_abc123"
Page unpublished successfully
Indicates the operation was successful
true
false
Show child attributes
Was this page helpful?