Compose template from base and modules
POST
CoderSessionTokenheader
Coder-Session-Token<token>Compose request
application/json- body
base_template_id?stringbase_variable_values?modules?array<>The samples read CODER_URL and CODER_SESSION_TOKEN: set up your environment.
curl -X POST \ "$CODER_URL/api/v2/templatebuilder/compose" \ -H "Coder-Session-Token: $CODER_SESSION_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "base_template_id": "string", "base_variable_values": { "property1": "string", "property2": "string" }, "modules": [ { "agent_name": "string", "id": "string", "variables": { "property1": "string", "property2": "string" } } ]}'Example Response200
Empty