PUT
/
fastedge
/
v1
/
template
/
{id}
curl --request PUT \
  --url https://api.gcore.com/fastedge/v1/template/{id} \
  --header 'APIKey: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "binary_id": 123,
  "name": "<string>",
  "short_descr": "<string>",
  "long_descr": "<string>",
  "owned": true,
  "params": [
    {
      "name": "<string>",
      "data_type": "string",
      "mandatory": false,
      "descr": "<string>"
    }
  ]
}'
{
  "id": 123,
  "name": "<string>",
  "short_descr": "<string>",
  "long_descr": "<string>",
  "api_type": "<string>",
  "owned": true
}

Authorizations

APIKey
string
header
required

API key for authentication.

Path Parameters

id
integer
required

ID of the template

Body

application/json

Template details

The body is of type object.

Response

200
application/json

Ok

The response is of type object.