Placewise API
Get startedExplore
Get startedExplore
Performance Cloud 🗗
Placewise 🗗
ExplorePublic APIManagement APIUsers APIOperations APIMessaging API
Reporting APIML APIData API
ExplorePublic APIManagement APIUsers APIOperations APIMessaging API
Reporting APIML APIData API
  1. Templates (Standalone)
  • Introduction
  • Templating system
  • Message model
  • Sending model
  • Messages
    • Create Message
      POST
    • List Messages
      GET
    • Show Message
      GET
    • Update Message
      PUT
    • Duplicate Message
      PUT
    • Delete Message
      DELETE
  • Sendings
    • Show Sending
      GET
    • Create Sending
      POST
    • Update Sending
      PUT
    • Cancel Sending
      PUT
  • Templates (Standalone)
    • Introduction
    • Bee Templates
      • Introduction
      • List Bee Email Templates
      • Show Bee Email Template
      • List Bee Email Templates Tags
    • List Templates
      GET
    • Show Template
      GET
    • Create Template
      POST
    • Update Template
      PUT
    • Destroy Template
      DELETE
  • Misc
    • Show Messaging Settings
      GET
    • List Merge Properties
      GET
    • List Merge Properties Copy
      GET
  1. Templates (Standalone)

Destroy Template

DELETE
https://api.mpc.dev.placewise.com/v1/messages/templates/{id}
API Permit:Messages:Api:Templates:Destroy
API Context:Loyalty Club
Authorizations:UserToken

Request

Path Params

Header Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C#
Ruby
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request DELETE 'https://api.mpc.dev.placewise.com/v1/messages/templates/1' \
--header 'X-User-Agent;' \
--header 'X-Product-Name;' \
--header 'X-Loyalty-Club-Slug;' \
--header 'X-Customer;' \
--header 'Authorization: Bearer ' \
--header 'X-Client-Authorization: '

Responses

🟢200Success
application/json
Body

Example
{
    "template": {
        "id": 1,
        "created_at": "2022-11-05T16:25:58.099512Z",
        "updated_at": "2022-11-15T16:25:58.099512Z",
        "name": "string",
        "type": "plain",
        "content": {
            "language": "string",
            "body": "Hei {{name}}"
        },
        "translations": [
            {
                "language": "string",
                "body": "Hei {{name}}"
            }
        ],
        "wrapper_id": 1,
        "merge_properties": [
            "first_name"
        ],
        "thumbnail_url": "https://img.placewise.com/image.png"
    }
}
🟠404Record Not Found
Previous
Update Template
Next
Show Messaging Settings
Built with