update-template
Update mutable fields of a RunPod template, including name, image, ports, environment variables, and readme. Only specified fields are changed.
Instructions
Update a template's mutable fields (name, image, ports, env, readme). Only provided fields change.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | New environment variables | |
| name | No | New name for the template | |
| ports | No | New ports to expose | |
| readme | No | New README content in markdown format | |
| imageName | No | New Docker image | |
| templateId | Yes | ID of the template to update | |
| containerRegistryAuthId | No | ID of a container registry credential (from create-container-registry-auth / list-container-registry-auths) used to pull a private image. Set this to attach a credential to a template referencing a private registry. |