Русский
cURL
curl --request PUT \ --url https://api.qudata.ai/v0/templates/{template_id} \ --header 'Content-Type: application/json' \ --header 'X-Api-Key: <api-key>' \ --data '{ "name": "<string>", "description": "<string>", "image": "<string>", "image_tag": "<string>", "docker_username": "<string>", "docker_password": "<string>", "docker_registry": "<string>", "env": "<string>", "use_ssh": true, "use_jupyter": true, "direct_ssh": true, "jupyter_directory": "<string>", "use_jupyter_lab": true, "on_start_command": "<string>", "recommended_disk_space": 123, "is_private": false, "ssh_username": "root" }'
{ "ok": true, "data": { "id": "<string>", "owner_id": "<string>", "name": "<string>", "description": "<string>", "image": "<string>", "image_tag": "<string>", "docker_login": "<string>", "env": "<string>", "use_ssh": true, "use_jupyter": true, "direct_ssh": true, "jupyter_directory": "<string>", "use_jupyter_lab": true, "on_start_command": "<string>", "search_params": "<string>", "recommended_disk_space": 123, "href": "<string>", "picture": "<string>", "is_private": false, "ssh_username": "root" } }
Updates template parameters to the provided values
Successful Response
Show child attributes