For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Şablonu Siler

Şablonu siler.

delete
Authorizations
HTTPRequired

API anahtar� giriniz

Path parameters
idinteger · int32Required
Responses
200

Şablonu siler.

application/json
IDinteger · int32Optional
UUIDstring · nullableOptional
Namestring · nullableOptional
IsActivebooleanOptional
IsDefaultbooleanOptional
CreationDatestring · date-timeOptional
TemplateIDinteger · int32Optional
delete/Templates/{id}
DELETE /einvoice/Templates/{id} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "ID": 1,
  "UUID": "text",
  "Name": "text",
  "IsActive": true,
  "IsDefault": true,
  "CreationDate": "2026-01-01T00:00:00.000Z",
  "TemplateID": 1
}
var options = new RestClientOptions("//einsurance/Templates/<integer>")
{
  MaxTimeout = -1,
};
var client = new RestClient(options);
var request = new RestRequest("", Method.Delete);
request.AddHeader("Accept", "application/json");
request.AddHeader("Authorization", "Bearer {{bearerToken}}");
RestResponse response = await client.ExecuteAsync(request);
Console.WriteLine(response.Content);
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => '//einsurance/Templates/<integer>',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'DELETE',
  CURLOPT_HTTPHEADER => array(
    'Accept: application/json',
    'Authorization: Bearer {{bearerToken}}'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;

Last updated