# template (private) [Manage your templates](https://docs.digitalocean.com/products/paperspace/machines/how-to/manage-custom-template/index.html.md). Templates are disk images of your machines that exclude any data or content you created on the original machine. You can use them to create new machines. You can use them to pre-populate a machine with your desired software stack. ## Global Flags These flags are available on all commands. ### –log-level, -l (string, optional) Enable debug logging. One of `debug`, `info`, `warning`, `error`, or `critical`. ### –json, -j (boolean, optional) Output JSON ### –api-key (string, optional) A Paperspace public API Key used for authenticating requests ### –help, -h (boolean, optional) Show help for a command * * * ## pspace template create Create a template from a machine. ### Flags #### –fields, -F (string, optional) The fields to include in the response. #### –name, -n (string, required) The name of the template #### –machine-id, -m (string, required) The ID of the machine to create a template from ### Global Flags These flags are available on all commands. #### –log-level, -l (string, optional) Enable debug logging. One of `debug`, `info`, `warning`, `error`, or `critical`. #### –json, -j (boolean, optional) Output JSON #### –api-key (string, optional) A Paperspace public API Key used for authenticating requests #### –help, -h (boolean, optional) Show help for a command * * * ## pspace template get Get a template from a team. ### Arguments #### \[argument] (string, required) The ID of the template to get ### Flags #### –fields, -F (string, optional) The fields to include in the response. ### Global Flags These flags are available on all commands. #### –log-level, -l (string, optional) Enable debug logging. One of `debug`, `info`, `warning`, `error`, or `critical`. #### –json, -j (boolean, optional) Output JSON #### –api-key (string, optional) A Paperspace public API Key used for authenticating requests #### –help, -h (boolean, optional) Show help for a command * * * ## pspace template list List templates in your team. Pick a subset of fields to display: ``` pspace template list -F name -F dtModified ``` ### Flags #### –limit (number, optional) The number of items to return in the next page. #### –after (string, optional) The cursor to fetch the next results from. #### –orderBy (string, optional) The field to order items by. One of `dtCreated`. #### –asc (boolean, optional) Whether to order items ascending. #### –desc (boolean, optional) Whether to order items descending. #### –fields, -F (string, optional) The fields to include in the response. #### –machine-id, -m (string, optional) The ID of the machine the event is for. If not specified, all events are returned. #### –name, -n (string, optional) Filter by name. ### Global Flags These flags are available on all commands. #### –log-level, -l (string, optional) Enable debug logging. One of `debug`, `info`, `warning`, `error`, or `critical`. #### –json, -j (boolean, optional) Output JSON #### –api-key (string, optional) A Paperspace public API Key used for authenticating requests #### –help, -h (boolean, optional) Show help for a command * * * ## pspace template delete Delete a template from a team. ### Arguments #### \[argument] (string, required) The ID of the template to delete ### Flags #### –fields, -F (string, optional) The fields to include in the response. ### Global Flags These flags are available on all commands. #### –log-level, -l (string, optional) Enable debug logging. One of `debug`, `info`, `warning`, `error`, or `critical`. #### –json, -j (boolean, optional) Output JSON #### –api-key (string, optional) A Paperspace public API Key used for authenticating requests #### –help, -h (boolean, optional) Show help for a command