PHP
$data = array (
'config' => 0,
'name' => 'string',
'description' => 'string',
'type' => 'string',
'vendor' => 'string',
'model' => 'string',
'is_default' => 'boolean',
'body' => 'string',
'service' => 0,
);
$context = stream_context_create([
'ssl'=>['verify_peer' => false],
'http' => [
'method' => 'PUT',
'header' => "Content-Type: application/json\r
Accept: application/json",
'content'=>json_encode($data)
]
]);
$result = file_get_contents('https://your-domainapi/admin/v1/config-templates/{config}', false, $context);