update-template
Modify an existing RunPod template by updating its name, Docker image, exposed ports, environment variables, or documentation.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
env | No | New environment variables | |
imageName | No | New Docker image | |
name | No | New name for the template | |
ports | No | New ports to expose | |
readme | No | New README content in markdown format | |
templateId | Yes | ID of the template to update |
Input Schema (JSON Schema)
{
"properties": {
"env": {
"additionalProperties": {
"type": "string"
},
"description": "New environment variables",
"type": "object"
},
"imageName": {
"description": "New Docker image",
"type": "string"
},
"name": {
"description": "New name for the template",
"type": "string"
},
"ports": {
"description": "New ports to expose",
"items": {
"type": "string"
},
"type": "array"
},
"readme": {
"description": "New README content in markdown format",
"type": "string"
},
"templateId": {
"description": "ID of the template to update",
"type": "string"
}
},
"required": [
"templateId"
],
"type": "object"
}