Move to Trash
Move a page, and the pages inside it, to Trash. Bring it back with Restore page.
POST
/v1/w/{workspace}/pages/{id}/trashSend an Idempotency-Key. This may answer 202 while it waits for approval.
Path parameters
workspacestringrequiredYour workspace’s address name.
idstringrequiredThe page’s id, like pg_…, from List pages.
Headers
Idempotency-Keystring8–100 characters. Repeat the same key and body to get the first outcome back instead of writing twice.
Response
pageobjectrequiredDetails
Move a page and its children to Trash; published copies become unavailable.