Update Item Sitemap Settings
Updates the sitemap setting of up to 100 items in a collection in one request. It doesn’t change the items’ field data.
Publish to apply changes
Updates apply to the staged version of each item. Publishing an item updates its live setting, but the sitemap.xml file changes only after you publish the site.
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 | cms:write
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
collection_id
Unique identifier for a Collection
Request
This endpoint expects an object.
items
The items to update. Each item ID can appear only once in a request.
Response
Request was successful
items
The updated items.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error