This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Sets a site's site-wide SEO tags.
List the fields to change in fieldMask.
Setting tags replaces the site's tags in full, so retrieve the current tags with
Get Site SEO
Tags
and send back the complete set you want the site to have. Two consequences are easy
to miss:
robots tag makes the site indexable again, because no noindex
directive remains.og:image clears the site's default social share image.To remove every site tag, send tags as an empty list with tags in the field mask.
Site verification tags added through the dashboard are stored separately and aren't
affected.
Tags are validated before anything is saved, so a request that contains an invalid tag changes nothing.
You can only call this method when authenticated as a Wix app or Wix user identity.
There are 2 errors with this status code.
This method may also return standard errors. Learn more about standard Wix errors.