Create and start a rebuild
Creates a new Build from the given definition and starts it immediately. A rebuild inherits the most recent Build’s provider and resources, so a Template with no Build records left has nothing to inherit and returns 409. Not supported in every IDC; IDCs without rebuild support reject it with 422.
Authorizations
API Key or Access Token, always sent as Authorization: Bearer <token>. The gateway recognizes the token type automatically.
Path Parameters
Owning GMI Template identifier.
Query Parameters
Filter by data center name, e.g. us-denver-1
Body
Manual Build source. Sandbox sources use the snapshot endpoint.
- Option 1
- Option 2
Shell command strings executed sequentially during the Build.
1001 - 8192Environment variables available only during the Template Build.
They are visible to subsequent build commands/steps and are not persisted
into the resulting template artifact as sandbox runtime environment
variables. Pass runtime env when creating a Sandbox instead. Write-only:
values are never returned on Template or TemplateBuild responses.
Keys must be unique (JSON object); the server orders them
deterministically by key. Key names must match
[A-Za-z_][A-Za-z0-9_]*.
Launch command persisted with the Build and applied when Sandboxes created from this Template start.
1 - 8192