Ricky logorickyDocs

Delete a template

DELETE
/templates/{template_id}

Deletes the template at Meta. Meta deletes it in every language that shares its name, and the name cannot be used again for 30 days.

Scope: templates:write.

Authorization

bearerAuth
headerAuthorizationBearer <token>

An organization API key, rky_live_…, created in Settings → API. Send it only from a server.

template_id*string

Template ID.

Match^[0-9]{1,32}$
Idempotency-Key?string

Optional. A value you choose, unique per logical write, 8–200 characters: a UUID or an ID from your system such as order-10482-ready. Retrying with the same key and body replays the first response instead of repeating the write.

Length8 <= length <= 200

Response Body

Success.

application/json
  1. response
data*

A template Meta deleted.

curl -X DELETE 'https://getricky.ai/api/v1/templates/string' \  -H 'Idempotency-Key: order-10482-ready'
{  "data": {    "id": "1234567890123456",    "deleted": true  }}