Pages: delete

  • Deleting a page requires authorization and is done by its ID.

  • The DELETE request is made to a specific URL including the blog and page IDs.

  • Required parameters for the request include blogId, pageId, and an optional useTrash boolean.

  • The request requires authorization with the https://www.googleapis.com/auth/blogger scope.

  • A successful response is an empty body.

Requires authorization

Delete a page by ID. Try it now.

Request

HTTP request

DELETE https://www.googleapis.com/blogger/v3/blogs/blogId/pages/pageId

Parameters

Parameter name Value Description
Required parameters
blogId string The Id of the Blog.
pageId string The ID of the Page.
useTrash boolean Move to Trash if possible. Note that only live pages can be moved to Trash.

Authorization

This request requires authorization with at least one of the following scopes (read more about authentication and authorization).

Scope
https://www.googleapis.com/auth/blogger

Request body

Do not supply a request body with this method.

Response

If successful, this method returns an empty response body.

Try it!

Use the APIs Explorer below to call this method on live data and see the response.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024年06月26日 UTC.