Skip to navigation

Update Page Sitemap Settings

Updates the sitemap setting of up to 100 static pages on a site in one request. The localeId parameter applies to every page in the request.

Webflow checks every page before it updates any of them, so if one page fails a check, no page is updated.

Publish to apply changes

The live site’s sitemap.xml file changes after you publish the site. Publishing a single page from the Designer updates the sitemap entry for that page only.

Beta access
These endpoints are available only to workspaces in the sitemap indexing beta. Valid requests from other workspaces return 404.
Enterprise Only
This endpoint requires an Enterprise workspace.

Required scope | pages:write

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

site_idstringRequiredformat: "objectid"
Unique identifier for a Site

Query parameters

localeIdstringOptional

Unique identifier for a specific Locale.

Learn more about localization.

Request

This endpoint expects an object.
pageslist of objectsRequired
The pages to update. Each page ID can appear only once in a request.

Response

Request was successful
pageslist of objects
The updated pages, in the order of the request.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error