Skip to main content
PUT
Update Template

Header

Content-Type
string
erforderlich

Allowed value: application/json.

Authorization
string
erforderlich

Bearer authentication format, e.g.: Bearer {{API_KEY}}.

Pfadparameter

template_id
string
erforderlich

Template ID. String, length: 1-255 characters.

Body

application/json
name
string

Template name.

Beispiel:

"pytorch-2.3-cuda12"

type
string

Template type.

Beispiel:

"instance"

image
string

Image address.

Beispiel:

"registry.example.com/ml/pytorch:2.3-cuda12"

registry_auth_id
string

Registry authentication ID.

Beispiel:

"auth-001"

command
string

Startup command.

Beispiel:

"jupyter lab --ip=0.0.0.0"

entrypoint
string

Image entrypoint.

Beispiel:

"/bin/bash"

rootfs_size_gb
integer

Root disk size. Unit: GB.

Beispiel:

50

ports
object[]

Exposed port configuration.

envs
object[]

Environment variables.

metadata
object

Template metadata.

min_cuda_version
string

Minimum CUDA version.

Beispiel:

"12.2"

Antwort

200 - application/json

OK

template_id
string

Template ID

Beispiel:

"tpl-001"

Zuletzt geändert am 10. August 2026