Create a TENANT template

Creates a template visible only to the caller's tenant. The key must
not already exist in tenant or SYSTEM scope.

defaultContent is not validated against the context catalog
here (unlike POST /api/system-templates), so invalid rules are only
rejected later, when a policy is created from the template.

Body Params
string
required
length ≤ 50
^[A-Z][A-Z0-9_]*$

Unique, immutable after creation. Scope is decided by the endpoint,
not by this request.

string
required
length between 1 and 255
string
string
required
length ≥ 1
string
required
length ≥ 1

The action this template targets.

defaultContent
object
required
Headers
string
required
^\d+\.\d+\.\d+$

The version of the Quant Flow API the request follows, as major.minor.patch (for example 1.0.0). The request is interpreted, and the response shaped, according to that version.

Responses

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json