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>", "image": "<string>", "owner_id": "<string>", "name": "<string>", "description": "<string>", "image_tag": "latest", "docker_login": "<string>", "env": "<string>", "use_ssh": false, "use_jupyter": false, "direct_ssh": false, "jupyter_directory": "<string>", "use_jupyter_lab": false, "on_start_command": "<string>", "search_params": "<string>", "recommended_disk_space": 123, "href": "<string>", "picture": "<string>", "is_private": false, "ssh_username": "root" } }
Изменяет параметры шаблона на указанные
Successful Response
Показать дочерние атрибуты