Skip to content

Create type

POST
/v2/metadata/types

Create a new metadata type.

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
82c4fce1-d2c7-48cb-a647-6993dbe37819
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