Skip to main content
POST
Take a template back

Authorizations

Authorization
string
header
required

A project key (Developers → API keys). Keep it on your server, not in an app.

Headers

traceparent
string

W3C Trace Context; joins your trace to ours

Path Parameters

id
string
required

A tpl_… ID or the template's key

Body

application/json

The body is of type object.

Response

Take a template back

template
string
required

A template ID, starting with tpl_.

Pattern: ^tpl_[0-7][0-9a-hjkmnp-tv-z]{25}$
removed_rules
string[]
required

Its draft rules, removed with it

A rule ID, starting with rule_.

Pattern: ^rule_[0-7][0-9a-hjkmnp-tv-z]{25}$
kept
object
required

Live rules, units and views stay, and so does everything users earned