Skip to content

Create template

POST
/v2/metadata/template

Create a new metadata template.

X-API-Key
string

API Key

X-API-Secret
string

API Secret

object
name
required

The name of the template

string
User Profile Template
description
required

A description of the metadata type

string
Template for user profile metadata
organisationId
required

The organisation ID

string
88f39775-01f6-43ef-b553-08410c588116
properties
required

Array of template properties

Array<object>
object
path
required

The path of you would like this key to be reconstructed too

string
user.preferences.theme
name
required

The name of the template

string
Theme Property
typeId
required

The type ID for this property

string
88f39775-01f6-43ef-b553-08410c588116
templateId
required

The template ID

string
88f39775-01f6-43ef-b553-08410c588116
public
required

Is this field public or private

boolean
true
description
required

A description of the metadata type

string
Theme preference for the user
allowMany
required

Can this field have multiple values

boolean

The created template query ID.

object
templateId
required

The template ID for the created template

string
88f39775-01f6-43ef-b553-08410c588116
name
required

The name of the template

string
User Profile Template
description
required

The description of the template

string
Template for user profile metadata
organisationId
required

The organisation ID

string
88f39775-01f6-43ef-b553-08410c588116
properties
required

Array of template properties

Array<object>
object
path
required

The path of you would like this key to be reconstructed too

string
user.preferences.theme
name
required

The name of the template

string
Theme Property
typeId
required

The type ID for this property

string
88f39775-01f6-43ef-b553-08410c588116
templateId
required

The template ID

string
88f39775-01f6-43ef-b553-08410c588116
public
required

Is this field public or private

boolean
true
description
required

A description of the metadata type

string
Theme preference for the user
allowMany
required

Can this field have multiple values

boolean