---
search:
  tags:
    - templates
    - POST
seo:
  description: >-
    Returns a creating template; poll GET until ready before using it. Failed
    saves remain… Reference for the POST /v1/templates endpoint in the pols.so
    API.
sidebar:
  label: Save a sandbox's disk as a named template
  badge: POST
title: Save a sandbox's disk as a named template
type: openapi-operation
---
Returns a creating template; poll GET until ready before using it. Failed saves remain visible until cleanup completes. Environment variables (secrets) of the source sandbox are not copied into the template. Answers 403 `quota_exceeded` when the org already has `max_templates` templates of its own.

`POST /v1/templates`
