Reference

/api/pages/:id/status

Change the page status

PATCH: /api/pages/:id/status

Patch parameters

Parameter Type Required Description
status string required The new status for the page. Can be "listed", "unlisted" or "draft"
position number When you set the status to "listed" you can pass a sorting position optionally.