templates_delete
DELETE
/templates/{template_id}
const url = 'https://example.com/templates/example';const options = {method: 'DELETE'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://example.com/templates/exampleDelete a stored template by its ID.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” template_id
required
Base58-encoded SHA-256 hash digest (32 bytes)
string
Template ID
Responses
Section titled “ Responses ”Template deleted
Template not found
Media type application/json
object
message
required
string
Example generated
{ "message": "example"}Internal error
Media type application/json
object
message
required
string
Example generated
{ "message": "example"}