Skip to content

Create Entity Type

POST
/v1/entity-types
curl --request POST \
--url https://example.com/api/v1/entity-types \
--header 'Authorization: <Authorization>' \
--header 'Content-Type: application/json' \
--data '{ "defaultTemplateId": "example", "icon": "example", "isLocation": true, "name": "example" }'

Entity Type Data

Media type application/json
object
defaultTemplateId
string
icon
string
isLocation
boolean
name
string
Example generated
{
"defaultTemplateId": "example",
"icon": "example",
"isLocation": true,
"name": "example"
}

Created

Media type application/json
object
createdAt
string
defaultTemplate
object
createdAt
string
description
string
id
string
name
string
updatedAt
string
defaultTemplateId
string
description
string
icon
string
id
string
isLocation
boolean
name
string
updatedAt
string
Example generated
{
"createdAt": "example",
"defaultTemplate": {
"createdAt": "example",
"description": "example",
"id": "example",
"name": "example",
"updatedAt": "example"
},
"defaultTemplateId": "example",
"description": "example",
"icon": "example",
"id": "example",
"isLocation": true,
"name": "example",
"updatedAt": "example"
}