TemplateBuilder

Compose and create a template

Changed on
post/api/v2/templatebuilder/compose/template

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v2/templatebuilder/compose/template
  • Auth
    API key in header Coder-Session-Token

Request body

base_template_idstring
base_variable_valuesobject
descriptionstring
display_namestring
iconstring
namestring required
organization_idstring uuid required
provisioner_tagsobject
session_idstring uuid

SessionID is the wizard session this request belongs to, as reported to POST /api/v2/templatebuilder/sessions. It is optional and used only to attribute a build failure to the session that produced it.

Response

Created

Changes