Install the SDK, or the CLI for
ppio commands, and set the PPIO_API_KEY and PPIO_DOMAIN environment variables before running these examples. See Quickstart and Install and authenticate.List templates
Response
The response is paginated. The top-level fields are:- Python
- Node.js
Assign tags
Tags label template builds for release management without changing the underlying template name. Useassign_tags in Python or assignTags in Node.js to assign one or more tags to an existing template build.
Remove tags
Useremove_tags in Python or removeTags in Node.js to remove one or more tags from a template by name.
assign_tags / assignTags returns tag information. remove_tags / removeTags returns nothing. Both accept a single tag string or a list of tags.Delete a template
A template can be deleted by ID from the CLI or the SDK. Deleting a template is permanent.Publish and unpublish
Publishing makes a template public to everyone outside the team. Unpublishing makes it private to the team again. Both commands set the template’spublic flag.
Usage
CLI
Arguments
Choose the templates to act on in one of three ways: pass[template], omit it to use ppio.toml, or pass --select.
Optional. Acts on the template with the given template ID. When omitted, uses the template defined by
ppio.toml in the root directory.Options
Selects templates from an interactive list, which shows only the templates eligible for the action.
Examples
Output