POST
/
v1
/
templates
create template
curl --request POST \
  --url https://console.gmicloud.com/api/v1/templates \
  --header 'Content-Type: application/json' \
  --data '{
  "credential": {
    "secret": "",
    "username": ""
  },
  "description": "",
  "name": "<string>",
  "path": "<string>",
  "status": "published"
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Body

application/json

Response

successful

The response is of type object.