curl --request DELETE \
--url https://spectrum.photon.codes/projects/{projectId}/whatsapp-business/accounts/{accountId}/templates/{templateId}{
"succeed": true,
"data": {
"templateId": "<string>",
"success": true
}
}Deletes a single language version of a message template. The path :templateId is forwarded to Meta as hsm_id so the delete is scoped to that exact template row — other language versions sharing the same name are untouched. The name query parameter is required because Meta’s DELETE /{waba_id}/message_templates endpoint requires it alongside hsm_id. Returns { templateId, success: true } on confirmation; Meta acknowledging success=false surfaces as 502.
curl --request DELETE \
--url https://spectrum.photon.codes/projects/{projectId}/whatsapp-business/accounts/{accountId}/templates/{templateId}{
"succeed": true,
"data": {
"templateId": "<string>",
"success": true
}
}Documentation Index
Fetch the complete documentation index at: https://docs.photon.codes/docs/llms.txt
Use this file to discover all available pages before exploring further.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$1^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$1 - 512Was this page helpful?