Şablonu Siler

Şablonu siler.

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

Faturayı model olarak gönderir

Body
IDinteger (int32)
UUIDnullable string
Namenullable string
IsActiveboolean
IsDefaultboolean
CreationDatestring (date-time)
TemplateIDinteger (int32)
Request
const response = await fetch('/earchive/Templates/{id}', {
    method: 'DELETE',
    headers: {},
});
const data = await response.json();
Response
{
  "UUID": "text",
  "Name": "text",
  "IsActive": false,
  "IsDefault": false,
  "CreationDate": "2024-10-15T01:06:08.945Z"
}
var client = new RestClient("https://apitest.nilvera.com/earchive/Templates/234567");
client.Timeout = -1;
var request = new RestRequest(Method.DELETE);
request.AddHeader("Authorization", "Bearer <API KEY>");
request.AddHeader("Content-Type", "application/json");
var body = @"["3fa85f64-5717-4562-b3fc-2c963f66afa6"]";
request.AddParameter("application/json", body,  ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);