Delete a template family
Deletes a template family without deleting its member templates. Use this endpoint to delete a template family through the Samva email API.
DELETE
Deletes a template family without deleting its member templates.
apiKeyheader
x-api-key<token>id*stringMatch
^tfam_[0-9a-hjkmnp-tv-z]{16,24}$SuccessResponse
application/json- response
success*booleanimport { createClient } from "samva";const samva = createClient({ apiKey: process.env.SAMVA_API_KEY! });const result = await samva.templates.deleteFamily({ "id": "example"});Example Response
{ "success": true}Related documentation
Create a template from a website
Create a template from a website. View request and response details for this Samva email API endpoint.
Detach a template from a family
Removes a member template from the family without deleting the template. Use this endpoint to detach a template from a family through the Samva email API.