Create a template

View as Markdown

Creates a template owned by the authenticated owner.

Template names must be unique within an owner namespace. Global templates are read-only from this API.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
namestringRequired>=1 character
descriptionstring or nullOptional
systemstring or nullOptional
messageslist of objects or nullOptional
modelstring or nullOptional
paramsobject or nullOptional
variableslist of strings or nullOptional

Response

Template created successfully.
idstringformat: "uuid"
namestring
is_globalboolean
created_atdatetime
updated_atdatetime
ownerstring or null
descriptionstring or null
systemstring or null
messageslist of objects or null
modelstring or null
paramsobject or null
variableslist of strings or null

Errors

401
Unauthorized Error
403
Forbidden Error
409
Conflict Error
422
Unprocessable Entity Error