Skip to content

Templates ​

GET /api/templates ​

List templates (customers see no commands or environment values)

  • Access: Signed-in user (browser session); also reachable with an API token that has the read scope

POST /api/templates ​

Create a template

  • Access: Administrator

PUT /api/templates/{id} ​

Edit a template (a runtime change creates a new version)

  • Access: Administrator
  • Path parameters: id

DELETE /api/templates/{id} ​

Delete an unused custom template

  • Access: Administrator
  • Path parameters: id

POST /api/templates/{id}/apply ​

Recreate servers with the newest template version

  • Access: Administrator
  • Path parameters: id
  • Body: confirm:true, serverIds?

GET /api/templates/{id}/export ​

Export a template as JSON

  • Access: Administrator
  • Path parameters: id

GET /api/templates/{id}/outdated ​

Servers on an older template version

  • Access: Administrator
  • Path parameters: id

POST /api/templates/import ​

Import a template document

  • Access: Administrator
  • Body: document, id?, overwrite?

Released under the AGPL-3.0-only license.