curl --request PUT \
--url https://api.gcore.com/fastedge/v1/admin/template/{id} \
--header 'Authorization: <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
}
curl --request PUT \
--url https://api.gcore.com/fastedge/v1/admin/template/{id} \
--header 'Authorization: <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
}
API key for authentication. Make sure to include the word apikey
, followed by a single space and then your token.
Example: apikey 1234$abcdef
ID of the template
Template details
The body is of type object
.
Ok
The response is of type object
.
Was this page helpful?