Path Parameters
Body
application/json
Response
successful
The response is of type object
.
curl --request PUT \
--url https://console.gmicloud.com/api/v1/containers/{id} \
--header 'Content-Type: application/json' \
--data '{
"envs": [
{
"name": "access_token",
"value": "kalsk113=="
}
],
"name": "LLM training",
"ports": [],
"storages": [
{
"containerPath": "/workspace",
"id": "550e8400-e29b-41d4-a716-446655440000"
}
],
"templateId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
curl --request PUT \
--url https://console.gmicloud.com/api/v1/containers/{id} \
--header 'Content-Type: application/json' \
--data '{
"envs": [
{
"name": "access_token",
"value": "kalsk113=="
}
],
"name": "LLM training",
"ports": [],
"storages": [
{
"containerPath": "/workspace",
"id": "550e8400-e29b-41d4-a716-446655440000"
}
],
"templateId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
successful
The response is of type object
.