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
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 format: uuid
77a0049c-7683-45ff-956f-656f257048f7
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
77a0049c-7683-45ff-956f-656f257048f7
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 format: uuid
77a0049c-7683-45ff-956f-656f257048f7
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 format: uuid
77a0049c-7683-45ff-956f-656f257048f7
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

Bad Request

Unauthorized

Forbidden

Not Found

Internal Server Error