Permanently delete a template project
Permanently deletes the project and every template in it.
Permanently deletes the project and every template in it. Refuses with 409 and reference kind/id pairs while any entry or the project is in use. Repository, workspace, conversations, draft assets, publications and previews are removed through durable cleanup. Sent-message history keeps its snapshots. Newsletter issue projects can only be removed through their topic.
apiKeyx-api-key<token>id*string^tproj_[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.deleteProject({ "id": "example"});{ "success": true}Related documentation
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.
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.