Update Site Add-ons
Attach add-ons to a site on an Enterprise plan, or change their quantity. Add-ons not listed in the request stay unchanged. To decrease an add-on, send the new quantity. To remove an add-on, send a quantity of 0.
A decrease fails with a 400 error if the site’s secondary locales, CMS items, or AEO prompts exceed the new limit. Removing ANALYZE or OPTIMIZE fails with a 400 error while data tracking is on. You can’t remove or decrease an add-on that the site’s plan includes.
Required scope | site_plans:write
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
Request
Add-ons to attach or change. Add-ons not listed stay unchanged. Each add-on type may appear at most once.
Response
All add-ons attached to the site after the request, not only the ones in the request. On Enterprise Plus, ANALYZE and OPTIMIZE are included with the plan and always returned with a quantity of 1.