Skip to main content

Delete Pages

Accepts up to 500 page IDs or handles in one request and deletes the matching page assignments. Identify targets either by page ID or by handle, type, and locale.
Deleting content is a consequential write. Resolve the intended targets with List Pages, show them to the user when operating through an agent, and require confirmation before sending the request.

Delete by page IDs

Page ID matching is scoped to the project in the request URL.

Delete by handles

For custom pages, use the exact handle returned by List Pages, including any / characters. When locale is omitted, the endpoint uses the legacy en-us locale.
Send one selector form per request. If both pageIds and handles are present and pageIds is an array, the endpoint processes pageIds and ignores handles.

Behavior

The endpoint removes only matching assignments from the requested project. It soft-deletes the underlying page after the page has no remaining live assignments; assignments for other locales or resources keep a shared page live. Clients or proxies that strip DELETE request bodies may send POST to the same URL with the same delete body.

Example

Response

Keep batches small enough to review, even though the endpoint accepts up to 500 target values. Use the response counts and handle lists to identify misses or per-page failures.

Errors

List Pages

Resolve page IDs, handles, types, and locales before deleting.