Skip to main content
DELETE
Delete a template

Authorizations

Authorization
string
header
required

A Motion API key. Access is limited to its stored organization, workspace, scopes and the creator’s current permissions.

Scopes

motion:templates:write

Create, edit, share, and archive prompt templates.

Headers

Motion-API-Version
enum<string>
default:2026-11-19

Optional API version override for this request. When omitted, Motion uses the API version pinned to your API key or OAuth connection.

Available options:
2026-11-19

Path Parameters

slug
string
required

Template identifier (the id field returned by list or create templates).

Response

Success

id
string
required
deleted
boolean
required