Create Site Plan

Upgrade a Starter site to its workspace's Enterprise plan, and optionally attach add-ons. The Enterprise plan is derived from the workspace's contract and uses the workspace's pooled site and add-on quota. If the site is already on the workspace's Enterprise plan with the same add-ons, the request succeeds without changes. To change the add-ons of a provisioned site, use [Update Site Add-ons](/data/v2.0.0-beta/reference/enterprise/workspace-management/update-site-addons). <Warning title="Enterprise Only">This endpoint requires an Enterprise workspace with Enterprise self-provisioning enabled.</Warning> Required scope | `site_plans: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

This endpoint expects an object.
addonslist of objectsOptional

Add-ons to attach to the site. Each add-on type may appear at most once.

Response

Request was successful
planstring
ID of the site's Enterprise hosting plan.
addonslist of objects

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.

Errors

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