---
title: "Delete Template Pages"
method: POST
path: "/api/MobileApp/templates/delete_template_pages"
tags: ["MobileApp"]
---

# Delete Template Pages

`POST /api/MobileApp/templates/delete_template_pages`

## Request

- Base URL: `https://api.leapsurgebi.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.leapsurgebi.com/api/MobileApp/templates/delete_template_pages`
- Auth: OAuth 2
  - Password
  - Token URL: `/auth/token`
- TypeScript: <https://skmtc.dev/leapsurgebi/apis/leapsurgeapi/docs/api/MobileApp/templates/delete_template_pages/post.ts> (a function with typed inputs; its response is checked against the schema)

**Function**: `delete_template_pages`

**Type**: API Endpoint (POST)

**Purpose**:  
Deletes a template page based on the specified template code and customer code.

**Endpoint**:  
`POST /api/templates/delete_template_pages`

**Headers**:  
The request must include the following headers:
- `Customer-Key`: Encoded customer key used to verify the customer's identity.
- `Template_Code`: The template code of the page to be deleted.

**Request Body**:  
No request body is required.

**Response**:  
The API returns a JSON object with the status of the operation.

**Response Structure**:  
The response will be in the following format:

## Headers

- `Customer-Key` string, required
- `Template-Code` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-24** `23b42df3193a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/leapsurgebi/apis/leapsurgeapi/changes/api/MobileApp/templates/delete_template_pages/post.md)

---

[API](https://skmtc.dev/leapsurgebi/apis/leapsurgeapi.md) - [All operations](https://skmtc.dev/leapsurgebi/apis/leapsurgeapi/llms.txt) - [OpenAPI document](https://skmtc.dev/leapsurgebi/apis/leapsurgeapi/revisions/13653cb8ee76?raw)
