Skip to content

Update Entity Type

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

Entity Type ID

Entity Type Data

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

OK

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"
}