Skip to main content
DELETE
/
projects
/
{projectId}
/
whatsapp-business
/
accounts
/
{accountId}
/
templates
/
{templateId}
Delete a WhatsApp Business message template
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.

Path Parameters

accountId
string<uuid>
required
Pattern: ^([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)$
templateId
string
required
Minimum string length: 1
projectId
string<uuid>
required
Pattern: ^([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)$

Query Parameters

name
string
required
Required string length: 1 - 512

Response

200 - application/json

Response for status 200

succeed
boolean
required
data
object
required