Bulk update page schema markup

Replace JSON-LD schema markup for up to 25 pages in a single request. All pages must belong to the site identified by `site_id`. Each entry can target a different secondary locale via `localeId`. The same `id` may appear multiple times when each entry uses a different `localeId`. Duplicate `(id, localeId)` tuples return 400. Pass `null` for `jsonLdSchema` to clear schema markup for an entry. When the input for an entry is a string that contains an opening `<script type="application/ld+json">` tag, the string must also contain a matching closing `</script>` tag or the request returns 400. The keys `__proto__`, `constructor`, and `prototype` are silently stripped before storage. Validation limits | 60KB raw input, 32 nesting depth, 5000 nodes — applied to each entry. 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

Request

The schema markup updates to apply.
pageslist of objectsRequired

List of schema markup updates to apply. Include between 1 and 25 entries per request. The same id may appear multiple times when each entry uses a different localeId.

Response

Request was successful
pageslist of objects

Schema markup results in the same order as the input pages array.

Errors

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