PUT
/
v1
/
templates
/
{id}
update template
curl --request PUT \
  --url https://console.gmicloud.com/api/v1/templates/{id} \
  --header 'Content-Type: application/json' \
  --data '{
  "credential": {
    "secret": "",
    "username": ""
  },
  "description": "",
  "name": "<string>",
  "path": "<string>",
  "status": "published"
}'
{
"modified": "<string>"
}

Path Parameters

id
string<uuid>
required

Body

application/json

Response

successful

The response is of type object.