Skip to main content
PUT
Update Template

ヘッダー

Content-Type
string
必須

Allowed value: application/json.

Authorization
string
必須

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

パスパラメータ

template_id
string
必須

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

ボディ

application/json
name
string

Template name.

:

"pytorch-2.3-cuda12"

type
string

Template type.

:

"instance"

image
string

Image address.

:

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

registry_auth_id
string

Registry authentication ID.

:

"auth-001"

command
string

Startup command.

:

"jupyter lab --ip=0.0.0.0"

entrypoint
string

Image entrypoint.

:

"/bin/bash"

rootfs_size_gb
integer

Root disk size. Unit: GB.

:

50

ports
object[]

Exposed port configuration.

envs
object[]

Environment variables.

metadata
object

Template metadata.

min_cuda_version
string

Minimum CUDA version.

:

"12.2"

レスポンス

200 - application/json

OK

template_id
string

Template ID

:

"tpl-001"

最終更新日 2026年8月10日