Delete Session
print_mail.template_editor_sessions.delete(strid) -> TemplateEditorSessionDeleteResponse
DELETE/print-mail/v1/template_editor_sessions/{id}
Delete Session
import os
from postgrid import PostGrid
client = PostGrid(
print_mail_api_key=os.environ.get("POSTGRID_PRINT_MAIL_API_KEY"), # This is the default and can be omitted
)
template_editor_session = client.print_mail.template_editor_sessions.delete(
"id",
)
print(template_editor_session.id){
"id": "template_editor_session_vmb3aXRJFzHb4oNRP2XMUZiTTBDtC91CSgQeqUrQfhSqq5P9wAGpmX5UkftueTubMN",
"object": "template_editor_session",
"deleted": true
}Returns Examples
{
"id": "template_editor_session_vmb3aXRJFzHb4oNRP2XMUZiTTBDtC91CSgQeqUrQfhSqq5P9wAGpmX5UkftueTubMN",
"object": "template_editor_session",
"deleted": true
}