Şablonu Siler

Şablonu siler.

DELETE/eproducer/Templates/{id}
Path parameters
id*integer (int32)
Response

Şablonu siler.

Body
IDinteger (int32)
UUIDnullable string
Namenullable string
IsActiveboolean
IsDefaultboolean
CreationDatestring (date-time)
TemplateIDinteger (int32)
Request
const response = await fetch('/eproducer/Templates/{id}', {
    method: 'DELETE',
    headers: {},
});
const data = await response.json();
Response
{
  "UUID": "text",
  "Name": "text",
  "IsActive": false,
  "IsDefault": false,
  "CreationDate": "2024-11-21T06:21:27.723Z"
}
var client = new RestClient("https://apitest.nilvera.com/eproducer/Templates/1234567");
client.Timeout = -1;
var request = new RestRequest(Method.DELETE);
request.AddHeader("Authorization", "Bearer <API KEY>");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);