---
title: "Delete template"
method: DELETE
path: "/v2/invoicing/templates/{template_id}"
tags: ["templates"]
---

# Delete template

`DELETE /v2/invoicing/templates/{template_id}`

## Request

- Base URL: `https://api-m.paypal.com`
- URL: `https://api-m.paypal.com/v2/invoicing/templates/{template_id}`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `/v1/oauth2/token` scopes: `https://uri.paypal.com/services/invoicing/invoices/readwrite`
- TypeScript: <https://skmtc.dev/paypal/apis/payments/docs/v2/invoicing/templates/:template_id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Deletes a template, by ID.

## Path parameters

- `template_id` string, required

## Response `204`

A successful request returns the HTTP `204 No Content` status code with no JSON response body.

## Other responses

- `403`: Authorization Error.
- `404`: Resource Not Found.
- `500`: An internal server error has occurred.
- `default`: The default response.

---

[API](https://skmtc.dev/paypal/apis/payments.md) - [All operations](https://skmtc.dev/paypal/apis/payments/llms.txt) - [OpenAPI document](https://skmtc.dev/paypal/apis/payments/revisions/672aceee1190?raw)
