Restore a workspace page
DELETE/api/v1/workspaces/{workspace_slug}/pages/{page_id}/archive/
Restore an archived workspace page. If its parent is archived, restore the parent before restoring the child; otherwise the API returns 400.
Path Parameters
workspace_slug:requiredstringThe workspace's unique slug.
page_id:requiredstringThe page UUID.
Scopes
write or wiki.pages:write
Restore a workspace page
bash
curl -X DELETE "https://api.plane.so/api/v1/workspaces/my-workspace/pages/page-uuid/archive/" -H "X-API-Key: $PLANE_API_KEY"python
import requests
response = requests.delete("https://api.plane.so/api/v1/workspaces/my-workspace/pages/page-uuid/archive/", headers={"X-API-Key": "your-api-key"})
print(response.status_code)javascript
// Run this example server-side. Browser apps must call your backend to keep the API key secret.
const response = await fetch(
"https://api.plane.so/api/v1/workspaces/my-workspace/pages/page-uuid/archive/",
{
method: "DELETE",
headers: { "X-API-Key": process.env.PLANE_API_KEY },
},
);Response204
No response body.

