Skip to content

Create type

POST
/v2/metadata/types

Create a new metadata type.

X-API-Key
string

API Key

X-API-Secret
string

API Secret

object
displayName
required

The name of the metadata type and how it will be displayed to the user

string
User Preferences
key
required

The key that will be used to reference the metadata type

string
user_preferences
description
required

A description of the metadata type

string
Stores user preferences and settings
type
required

The type of data that will be stored in the metadata type (ENUM)

string
Allowed values: string number boolean array
string

The created type query ID.

object
typeId
required

The type ID

string format: uuid
77a0049c-7683-45ff-956f-656f257048f7
displayName
required

The display name for the metadata type

string
User Preferences
key
required

The key for the metadata type

string
user_preferences
description
required

The description of the metadata type

string
Stores user preferences and settings
type
required

The data type for this metadata

string
Allowed values: string number boolean array
string

Bad Request

Unauthorized

Forbidden

Not Found

Internal Server Error